Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009966/0.0009967, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1394/0.1394, allocations: 8.027 MB / 298 MB, free: 2.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 360 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08357, allocations: 51.2 MB / 411.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004775/0.08837, allocations: 4.157 MB / 415.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.09022, allocations: 1.422 MB / 416.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.09045, allocations: 12 kB / 416.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.09082, allocations: 123.3 kB / 417 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.0912, allocations: 155 kB / 417.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.09176, allocations: 343.6 kB / 417.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.09239, allocations: 0.7558 MB / 418.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.09296, allocations: 454.7 kB / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.09322, allocations: 271 kB / 418.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.09355, allocations: 338.4 kB / 419.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.09364, allocations: 56 kB / 419.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.09379, allocations: 79.98 kB / 419.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.09397, allocations: 163.4 kB / 419.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.09428, allocations: 370 kB / 419.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.09503, allocations: 0.9814 MB / 420.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.09504, allocations: 0 / 420.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.09505, allocations: 0 / 420.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.09506, allocations: 0 / 420.9 MB, free: 1.746 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001617/0.09668, allocations: 1.12 MB / 422 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.09672, allocations: 12.03 kB / 422 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.09684, allocations: 106.7 kB / 422.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.09697, allocations: 84 kB / 422.2 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1481/0.2451, allocations: 0.5013 MB / 422.7 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.2452, allocations: 51.44 kB / 422.7 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.2453, allocations: 71.09 kB / 422.8 MB, free: 44.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2464, allocations: 0.6657 MB / 423.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2465, allocations: 3.062 kB / 423.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.2465, allocations: 25.88 kB / 423.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2465, allocations: 15.94 kB / 423.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.2475, allocations: 0.4883 MB / 424 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.2504, allocations: 2.584 MB / 426.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.2512, allocations: 430.6 kB / 427 MB, free: 42.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.2515, allocations: 175.2 kB / 427.2 MB, free: 42.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.2516, allocations: 4.406 kB / 427.2 MB, free: 42.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.2521, allocations: 249.7 kB / 427.4 MB, free: 42.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.2521, allocations: 3.688 kB / 427.4 MB, free: 42.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001297/0.2534, allocations: 0.6809 MB / 428.1 MB, free: 42.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2535, allocations: 138.4 kB / 428.3 MB, free: 41.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.254, allocations: 0.5603 MB / 428.8 MB, free: 41.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.254, allocations: 35.45 kB / 428.8 MB, free: 41.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2541, allocations: 347.4 kB / 429.2 MB, free: 41.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.2542, allocations: 111.1 kB / 429.3 MB, free: 41.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2543, allocations: 75.7 kB / 429.4 MB, free: 41.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.2544, allocations: 362.4 kB / 429.7 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.2548, allocations: 172 kB / 429.9 MB, free: 40.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.2551, allocations: 251.8 kB / 430.1 MB, free: 40.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.2558, allocations: 0.5331 MB / 430.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2559, allocations: 0 / 430.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009173/0.2568, allocations: 0.591 MB / 431.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.2568, allocations: 90.02 kB / 431.3 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2568, allocations: 3.219 kB / 431.4 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.257, allocations: 29.3 kB / 431.4 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.2573, allocations: 86.16 kB / 431.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005969/0.2579, allocations: 1.29 MB / 432.8 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.2582, allocations: 77.83 kB / 432.8 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.2583, allocations: 23.42 kB / 432.9 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004243/0.2587, allocations: 316.3 kB / 433.2 MB, free: 38.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.259, allocations: 246.3 kB / 433.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006016/0.2596, allocations: 0.5084 MB / 433.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2597, allocations: 3.344 kB / 433.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008294/0.2605, allocations: 0.5632 MB / 434.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2605, allocations: 100.3 kB / 434.6 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2605, allocations: 6.281 kB / 434.6 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-05/0.2606, allocations: 17.67 kB / 434.6 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2609, allocations: 75.34 kB / 434.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.2614, allocations: 1.292 MB / 436 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.2618, allocations: 57.97 kB / 436 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2618, allocations: 20.06 kB / 436 MB, free: 36.16 MB / 350.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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001201/0.2619, allocations: 271.2 kB / 436.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.262, allocations: 52.09 kB / 436.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.2629, allocations: 0.4919 MB / 436.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2629, allocations: 3.188 kB / 436.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.2629, allocations: 0 / 436.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2629, allocations: 10.73 kB / 436.9 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.2642, allocations: 1.141 MB / 438 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2642, allocations: 3.328 kB / 438 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.2645, allocations: 60.77 kB / 438.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.263e-05/0.2646, allocations: 17.81 kB / 438.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.2646, allocations: 10.44 kB / 438.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005066/0.2651, allocations: 1.283 MB / 439.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2651, allocations: 0 / 439.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2663, allocations: 0.7735 MB / 440.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.2664, allocations: 136 kB / 440.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.2664, allocations: 11.34 kB / 440.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2668, allocations: 42.7 kB / 440.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.2669, allocations: 30.73 kB / 440.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2669, allocations: 16.34 kB / 440.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003261/0.2672, allocations: 414.9 kB / 440.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2672, allocations: 0 / 440.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006104/0.2678, allocations: 275.5 kB / 441.1 MB, free: 32.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001957/0.2698, allocations: 1.563 MB / 442.6 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2712, allocations: 1.171 MB / 443.8 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2713, allocations: 3.938 kB / 443.8 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.2717, allocations: 427.3 kB / 444.2 MB, free: 30.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.2723, allocations: 92.83 kB / 444.3 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.2783, allocations: 5.711 MB / 450 MB, free: 27.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2786, allocations: 0.8988 MB / 450.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.2788, allocations: 61.67 kB / 451 MB, free: 26.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.279, allocations: 213.6 kB / 451.2 MB, free: 26.37 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.279, allocations: 0 / 451.2 MB, free: 26.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.3, allocations: 11.93 MB / 463.1 MB, free: 25.15 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.3001, allocations: 252.7 kB / 463.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.164, allocations: 4 kB / 463.4 MB, free: 24.89 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)