Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange",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.001237/0.001237, 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.001223/0.001223, allocations: 192.1 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.144/0.144, allocations: 8.023 MB / 298 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 360.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08889, allocations: 51.2 MB / 411.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005232/0.09416, allocations: 4.316 MB / 415.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.09624, allocations: 1.446 MB / 417 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.09648, allocations: 12 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.09687, allocations: 123.3 kB / 417.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.09725, allocations: 171 kB / 417.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.09785, allocations: 359.2 kB / 417.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000696/0.09856, allocations: 0.8024 MB / 418.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.09909, allocations: 434.8 kB / 418.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.09938, allocations: 286.8 kB / 419.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.09972, allocations: 354.4 kB / 419.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.09981, allocations: 52 kB / 419.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.09997, allocations: 87.98 kB / 419.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1002, allocations: 175.3 kB / 419.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.1005, allocations: 377.9 kB / 420.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.1013, allocations: 1.028 MB / 421.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1013, allocations: 0 / 421.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1013, allocations: 0 / 421.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1013, allocations: 0 / 421.2 MB, free: 1.449 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001765/0.1031, allocations: 1.155 MB / 422.4 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1032, allocations: 12.03 kB / 422.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1033, allocations: 118.6 kB / 422.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1034, allocations: 87.91 kB / 422.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1575/0.2609, allocations: 0.5016 MB / 423.1 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.261, allocations: 52.91 kB / 423.1 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2611, allocations: 73.48 kB / 423.2 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2624, allocations: 0.7058 MB / 423.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2624, allocations: 4.266 kB / 423.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.2625, allocations: 28.16 kB / 424 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.2625, allocations: 15.34 kB / 424 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2636, allocations: 0.5073 MB / 424.5 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.2666, allocations: 2.566 MB / 427 MB, free: 42.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.2675, allocations: 434.9 kB / 427.5 MB, free: 42.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.2678, allocations: 180.8 kB / 427.6 MB, free: 42.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.2679, allocations: 7.375 kB / 427.6 MB, free: 42.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.2685, allocations: 261.8 kB / 427.9 MB, free: 42.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.2685, allocations: 0 / 427.9 MB, free: 42.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001423/0.27, allocations: 0.7118 MB / 428.6 MB, free: 42.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.27, allocations: 142.5 kB / 428.8 MB, free: 41.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.2705, allocations: 0.5762 MB / 429.3 MB, free: 41.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2706, allocations: 33.48 kB / 429.4 MB, free: 41.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.2708, allocations: 355.8 kB / 429.7 MB, free: 41.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.2708, allocations: 116.6 kB / 429.8 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.271, allocations: 79.38 kB / 429.9 MB, free: 41.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.2711, allocations: 366.9 kB / 430.3 MB, free: 40.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2714, allocations: 163.1 kB / 430.4 MB, free: 40.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.2718, allocations: 261.8 kB / 430.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.2726, allocations: 0.5404 MB / 431.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2726, allocations: 3.094 kB / 431.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009598/0.2735, allocations: 0.6034 MB / 431.8 MB, free: 40 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.2736, allocations: 101.8 kB / 431.9 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2736, allocations: 2.812 kB / 431.9 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.2738, allocations: 25.53 kB / 431.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2741, allocations: 81.84 kB / 432 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.2748, allocations: 1.288 MB / 433.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.2752, allocations: 80.22 kB / 433.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2752, allocations: 25.92 kB / 433.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004733/0.2757, allocations: 321.1 kB / 433.7 MB, free: 38.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003547/0.276, allocations: 256 kB / 434 MB, free: 38.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006916/0.2767, allocations: 0.528 MB / 434.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2768, allocations: 0 / 434.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009136/0.2777, allocations: 0.5804 MB / 435.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.2777, allocations: 91.58 kB / 435.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2777, allocations: 2.969 kB / 435.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.851e-05/0.2778, allocations: 28.78 kB / 435.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2781, allocations: 80.28 kB / 435.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006015/0.2787, allocations: 1.282 MB / 436.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.2791, allocations: 74.5 kB / 436.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2791, allocations: 20.34 kB / 436.7 MB, free: 36.06 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001381/0.2793, allocations: 263.1 kB / 436.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.2793, allocations: 57.09 kB / 437 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.2802, allocations: 0.5074 MB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2803, allocations: 6.406 kB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2803, allocations: 0 / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2803, allocations: 3.188 kB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.2817, allocations: 1.197 MB / 438.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2817, allocations: 3.469 kB / 438.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.282, allocations: 55.7 kB / 438.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/0.2821, allocations: 26.31 kB / 438.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.2822, allocations: 8.188 kB / 438.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005888/0.2827, allocations: 1.291 MB / 440.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2828, allocations: 6.281 kB / 440.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.284, allocations: 0.785 MB / 440.9 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.2841, allocations: 142.1 kB / 441 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.2842, allocations: 11.16 kB / 441 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.2846, allocations: 45.77 kB / 441.1 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.2847, allocations: 31.16 kB / 441.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.2847, allocations: 14.44 kB / 441.1 MB, free: 32.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.285, allocations: 416.2 kB / 441.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.285, allocations: 0 / 441.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006381/0.2857, allocations: 290.7 kB / 441.8 MB, free: 32.66 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.002076/0.2878, allocations: 1.603 MB / 443.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2893, allocations: 1.176 MB / 444.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2893, allocations: 0.8125 kB / 444.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.2898, allocations: 448.2 kB / 445 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.2904, allocations: 81.31 kB / 445.1 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007087/0.2975, allocations: 5.863 MB / 451 MB, free: 27.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2978, allocations: 0.9017 MB / 451.9 MB, free: 26.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.298, allocations: 75.28 kB / 451.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.2983, allocations: 229.7 kB / 452.2 MB, free: 26.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2983, allocations: 0 / 452.2 MB, free: 26.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.3222, allocations: 12.26 MB / 464.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3223, allocations: 269.1 kB / 464.7 MB, free: 24.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.178, allocations: 2.188 kB / 464.7 MB, free: 24.63 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)