Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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/Complex 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 113.1 kB / 16.42 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04132/0.04132, allocations: 8.351 MB / 299.6 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 71.89 kB / 414.2 MB, free: 21.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07135/0.07255, allocations: 51.26 MB / 465.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.00498/0.07756, allocations: 4.106 MB / 469.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.07952, allocations: 1.415 MB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.07974, allocations: 12 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.08011, allocations: 154.8 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.08057, allocations: 206.5 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.08119, allocations: 373.8 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.08191, allocations: 0.849 MB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.08246, allocations: 446.5 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.08276, allocations: 326.9 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.08312, allocations: 350.5 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/0.08323, allocations: 92 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.0834, allocations: 124 kB / 473.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.0836, allocations: 195.4 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.08392, allocations: 398.1 kB / 474.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.08484, allocations: 1.024 MB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.08486, allocations: 4 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08486, allocations: 0 / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.08488, allocations: 0 / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001758/0.08664, allocations: 1.125 MB / 476.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.0867, allocations: 8.031 kB / 476.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.08686, allocations: 88.36 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.08757, allocations: 0.5054 MB / 477.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.08763, allocations: 45.31 kB / 477.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.08774, allocations: 71.94 kB / 477.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.08895, allocations: 0.6488 MB / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.08899, allocations: 4 kB / 478 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.08905, allocations: 31.98 kB / 478 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.08908, allocations: 16 kB / 478 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.09023, allocations: 476.9 kB / 478.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.09357, allocations: 2.49 MB / 481 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.09455, allocations: 428 kB / 481.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.095, allocations: 173 kB / 481.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.09505, allocations: 4.234 kB / 481.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.09561, allocations: 249.7 kB / 481.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.09562, allocations: 0 / 481.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001644/0.09727, allocations: 0.682 MB / 482.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.09735, allocations: 140.5 kB / 482.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.09795, allocations: 0.5605 MB / 483.2 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.09799, allocations: 33.7 kB / 483.2 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.09823, allocations: 344.3 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.09832, allocations: 111.1 kB / 483.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.09845, allocations: 77.69 kB / 483.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.09859, allocations: 358.8 kB / 484.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.09904, allocations: 157.2 kB / 484.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.09954, allocations: 262.5 kB / 484.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/0.1005, allocations: 0.5271 MB / 485 MB, free: 14.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1005, allocations: 4 kB / 485.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001183/0.1017, allocations: 0.5885 MB / 485.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.1018, allocations: 99.53 kB / 485.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1018, allocations: 7.75 kB / 485.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.1019, allocations: 24.84 kB / 485.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.1023, allocations: 79.88 kB / 485.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.1032, allocations: 1.386 MB / 487.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.1037, allocations: 87.77 kB / 487.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.1037, allocations: 16 kB / 487.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005544/0.1043, allocations: 316.4 kB / 487.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000438/0.1047, allocations: 246.9 kB / 487.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008474/0.1056, allocations: 0.5109 MB / 488.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.1056, allocations: 4.094 kB / 488.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001101/0.1067, allocations: 0.5612 MB / 489 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.1068, allocations: 97.03 kB / 489.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1068, allocations: 4 kB / 489.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.18e-05/0.1069, allocations: 25.22 kB / 489.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.1072, allocations: 75.89 kB / 489.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/0.1081, allocations: 1.39 MB / 490.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.1085, allocations: 59.81 kB / 490.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.1085, allocations: 19.98 kB / 490.6 MB, free: 8.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.1087, allocations: 272.5 kB / 490.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.1088, allocations: 51.67 kB / 490.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.1099, allocations: 0.4921 MB / 491.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1099, allocations: 3.984 kB / 491.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1099, allocations: 0 / 491.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.11, allocations: 132.7 kB / 491.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.1101, allocations: 8 kB / 491.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.1105, allocations: 47.89 kB / 491.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.1106, allocations: 31.95 kB / 491.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001355/0.1119, allocations: 0.6559 MB / 492.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0015/0.1134, allocations: 0.8296 MB / 493.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004351/0.1139, allocations: 180.5 kB / 493.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.1143, allocations: 406.8 kB / 493.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of Backend: time 1.973e-06/0.1143, allocations: 0 / 493.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.117, allocations: 1.422 MB / 495.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of SimCode: time 0.001904/0.1189, allocations: 1.731 MB / 496.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01408/0.133, allocations: 8.615 MB / 0.4936 GB, free: 9.336 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)