Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 111.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04309/0.04309, allocations: 8.409 MB / 305.6 MB, free: 4.293 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 422 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08692, allocations: 51.36 MB / 473.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005888/0.09284, allocations: 3.836 MB / 477.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.09572, allocations: 1.713 MB / 478.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.0961, allocations: 11.94 kB / 478.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.09665, allocations: 202.9 kB / 479.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.09732, allocations: 230.7 kB / 479.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008817/0.09822, allocations: 376.5 kB / 479.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.09908, allocations: 0.6628 MB / 480.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.09965, allocations: 317.2 kB / 480.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.1001, allocations: 270.9 kB / 481 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.1006, allocations: 330.5 kB / 481.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1007, allocations: 60 kB / 481.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.101, allocations: 120 kB / 481.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.1012, allocations: 231.2 kB / 481.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.1016, allocations: 365.8 kB / 482.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1027, allocations: 0.9375 MB / 483 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1027, allocations: 0 / 483 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1028, allocations: 0 / 483 MB, free: 7.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.1028, allocations: 0 / 483 MB, free: 7.984 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002189/0.105, allocations: 1.169 MB / 484.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.105, allocations: 11.89 kB / 484.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.802e-05/0.1051, allocations: 86.7 kB / 484.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1053, allocations: 96.33 kB / 484.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.1062, allocations: 0.6097 MB / 485 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.1062, allocations: 37 kB / 485 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.1063, allocations: 48 kB / 485 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.1073, allocations: 487.8 kB / 485.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1073, allocations: 0 / 485.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1074, allocations: 23.98 kB / 485.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1074, allocations: 12 kB / 485.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.1083, allocations: 351.7 kB / 485.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.1112, allocations: 1.871 MB / 487.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009033/0.1121, allocations: 342.7 kB / 488.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.1125, allocations: 140.8 kB / 488.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.1126, allocations: 11.98 kB / 488.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.113, allocations: 187.3 kB / 488.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.1131, allocations: 4 kB / 488.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001887/0.115, allocations: 0.6433 MB / 489.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.115, allocations: 55.41 kB / 489.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.1162, allocations: 0.9416 MB / 490.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1163, allocations: 29.7 kB / 490.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.1166, allocations: 368.5 kB / 490.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1167, allocations: 107.1 kB / 490.6 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1169, allocations: 90 kB / 490.7 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1171, allocations: 386.8 kB / 491 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1175, allocations: 132.8 kB / 491.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.118, allocations: 211.1 kB / 491.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.1188, allocations: 372.2 kB / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1188, allocations: 0 / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001302/0.1201, allocations: 0.5267 MB / 492.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.1202, allocations: 44.34 kB / 492.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1202, allocations: 4.156 kB / 492.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.1205, allocations: 60.81 kB / 492.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.1209, allocations: 75.89 kB / 492.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.1229, allocations: 1.818 MB / 494.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.1233, allocations: 55.84 kB / 494.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.1233, allocations: 16 kB / 494.3 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.1237, allocations: 271.1 kB / 494.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1238, allocations: 67.53 kB / 494.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1249, allocations: 446.1 kB / 495.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1249, allocations: 4 kB / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1249, allocations: 0 / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.125, allocations: 3.984 kB / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.1256, allocations: 0.5674 MB / 495.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1256, allocations: 3.984 kB / 495.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1259, allocations: 51.91 kB / 495.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.1261, allocations: 64.81 kB / 495.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1262, allocations: 4 kB / 495.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.128, allocations: 1.818 MB / 497.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.128, allocations: 0 / 497.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1295, allocations: 0.5921 MB / 498.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.1297, allocations: 164.8 kB / 498.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.1297, allocations: 7.984 kB / 498.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.13, allocations: 31.89 kB / 498.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1301, allocations: 23.97 kB / 498.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1301, allocations: 12 kB / 498.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008646/0.131, allocations: 0.6669 MB / 499.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.131, allocations: 0 / 499.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.1316, allocations: 143.6 kB / 499.2 MB, free: 6.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003865/0.1355, allocations: 1.639 MB / 0.4891 GB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1367, allocations: 0.518 MB / 0.4897 GB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1367, allocations: 0 / 0.4897 GB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.1373, allocations: 290.4 kB / 0.4899 GB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.1379, allocations: 98.09 kB / 0.49 GB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.148, allocations: 6.485 MB / 0.4964 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.1487, allocations: 0.9556 MB / 0.4973 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.1489, allocations: 76.34 kB / 0.4974 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.1493, allocations: 259.3 kB / 0.4976 GB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1493, allocations: 0 / 0.4976 GB, free: 12.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/0.3707, allocations: 14.09 MB / 0.5114 GB, free: 43.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13, allocations: 12.5 kB / 0.5114 GB, free: 43.81 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.567527381703258] Failed to read output from testmodel.py, exit status != 0: 13.154992384836078 13.178668244 13.072088983 Calling exit ...