Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239 MB, free: 4.676 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.5 kB / 289.3 MB, free: 2.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03404/0.03404, allocations: 8.798 MB / 348.2 MB, free: 4.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 80.25 kB / 410.6 MB, free: 42.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 51.56 MB / 462.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.00275/0.1115, allocations: 1.325 MB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.593e-05/0.1116, allocations: 3.938 kB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.1116, allocations: 4 kB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.588e-05/0.1117, allocations: 0 / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.1118, allocations: 4 kB / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.095e-05/0.1118, allocations: 4 kB / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.1119, allocations: 7.938 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.112, allocations: 3.984 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.112, allocations: 11.92 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.112, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1121, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.1121, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1121, allocations: 7.938 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1121, allocations: 7.938 kB / 463.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.534e-05/0.1122, allocations: 11.98 kB / 463.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1122, allocations: 4 kB / 463.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1122, allocations: 0 / 463.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1122, allocations: 0 / 463.5 MB, free: 13.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003624/0.1126, allocations: 315.5 kB / 463.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1126, allocations: 12.03 kB / 463.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1127, allocations: 0.9375 kB / 463.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1128, allocations: 164.7 kB / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1128, allocations: 384 / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1129, allocations: 8.312 kB / 464 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.1129, allocations: 47.92 kB / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.113, allocations: 4.188 kB / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.113, allocations: 3.938 kB / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.113, allocations: 0 / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.113, allocations: 0 / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1133, allocations: 487.6 kB / 464.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.1134, allocations: 169.1 kB / 464.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1135, allocations: 84.12 kB / 464.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1135, allocations: 75.28 kB / 464.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1135, allocations: 109.8 kB / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.555e-06/0.1135, allocations: 4 kB / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.1136, allocations: 33.55 kB / 465 MB, free: 11.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1137, allocations: 126.7 kB / 465.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1138, allocations: 109.8 kB / 465.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1138, allocations: 25.7 kB / 465.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.1139, allocations: 88.05 kB / 465.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.1139, allocations: 0 / 465.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1139, allocations: 13.72 kB / 465.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.114, allocations: 322.8 kB / 465.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.114, allocations: 4 kB / 465.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.1141, allocations: 9.719 kB / 465.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.1141, allocations: 21.66 kB / 465.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1141, allocations: 3.938 kB / 465.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/0.1142, allocations: 41.7 kB / 465.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1142, allocations: 11.98 kB / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1142, allocations: 0 / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1143, allocations: 0 / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1143, allocations: 4 kB / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1143, allocations: 0 / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.1144, allocations: 0 / 465.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1144, allocations: 7.938 kB / 465.8 MB, free: 10.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1145, allocations: 197.1 kB / 466 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1145, allocations: 101 kB / 466.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.1146, allocations: 116 kB / 466.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-05/0.1147, allocations: 176.3 kB / 466.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.662e-05/0.1147, allocations: 184.1 kB / 466.5 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/0.1148, allocations: 184.3 kB / 466.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.115, allocations: 405.2 kB / 467.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/0.115, allocations: 104.9 kB / 467.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1151, allocations: 105 kB / 467.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.1151, allocations: 184.2 kB / 467.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.1152, allocations: 180.2 kB / 467.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-05/0.1153, allocations: 180.3 kB / 467.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.472e-05/0.1153, allocations: 188.2 kB / 468 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1155, allocations: 308 kB / 468.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1156, allocations: 186 kB / 468.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1156, allocations: 180.3 kB / 468.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.1157, allocations: 113.2 kB / 468.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1158, allocations: 176.3 kB / 469 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.1158, allocations: 116.9 kB / 469.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.1158, allocations: 79.28 kB / 469.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 0 / 469.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1161, allocations: 4 kB / 469.2 MB, free: 7.184 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.444e-05/0.1162, allocations: 170.5 kB / 469.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.615e-05/0.1162, allocations: 8 kB / 469.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1162, allocations: 0 / 469.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1162, allocations: 0 / 469.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1166, allocations: 463.6 kB / 469.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.1168, allocations: 172.3 kB / 470 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1171, allocations: 0.6729 MB / 470.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1171, allocations: 3.984 kB / 470.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.1171, allocations: 7.438 kB / 470.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1171, allocations: 0 / 470.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of Templates: time 0.001819/0.119, allocations: 198.9 kB / 470.9 MB, free: 5.441 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)