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.001621/0.001621, allocations: 111.6 kB / 18.13 MB, free: 3.684 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.001931/0.001931, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 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.5/1.5, allocations: 225.6 MB / 250.2 MB, free: 13.3 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.04226/0.04226, allocations: 8.541 MB / 313.9 MB, free: 384 kB / 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.001918/0.001918, allocations: 67.91 kB / 437.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 54.21 MB / 491.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006556/0.1178, allocations: 3.882 MB / 495.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.121, allocations: 1.8 MB / 497.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.1213, allocations: 12 kB / 497.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.122, allocations: 202.9 kB / 497.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005928/0.1226, allocations: 246.7 kB / 497.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.1235, allocations: 374.4 kB / 498.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.1244, allocations: 0.6628 MB / 498.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.1249, allocations: 233.3 kB / 499 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.1254, allocations: 278.8 kB / 499.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.1259, allocations: 346.5 kB / 499.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.1261, allocations: 60 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1263, allocations: 124 kB / 499.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.1267, allocations: 227.2 kB / 0.4883 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.1273, allocations: 377.7 kB / 0.4887 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.129, allocations: 0.9336 MB / 0.4896 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.129, allocations: 0 / 0.4896 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.129, allocations: 0 / 0.4896 GB, free: 13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1291, allocations: 0 / 0.4896 GB, free: 13 MB / 366.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.002331/0.1314, allocations: 1.165 MB / 0.4907 GB, free: 11.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.1314, allocations: 11.89 kB / 0.4907 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.1316, allocations: 90.7 kB / 0.4908 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.1318, allocations: 92.33 kB / 0.4909 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1329, allocations: 0.6057 MB / 0.4915 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.1329, allocations: 37 kB / 0.4915 GB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.133, allocations: 48 kB / 0.4916 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1343, allocations: 479.8 kB / 0.492 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.1343, allocations: 12 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.1345, allocations: 16 kB / 0.492 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.1345, allocations: 12 kB / 0.4921 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.1354, allocations: 355.6 kB / 0.4924 GB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.1386, allocations: 1.871 MB / 0.4942 GB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/0.1395, allocations: 322.7 kB / 0.4945 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.1398, allocations: 132.8 kB / 0.4947 GB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.1399, allocations: 4 kB / 0.4947 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004926/0.1404, allocations: 199.2 kB / 0.4949 GB, free: 7.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.215e-06/0.1404, allocations: 0 / 0.4949 GB, free: 7.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001886/0.1422, allocations: 0.6479 MB / 0.4955 GB, free: 6.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1423, allocations: 55.41 kB / 0.4955 GB, free: 6.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1435, allocations: 0.9338 MB / 0.4965 GB, free: 5.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1436, allocations: 37.69 kB / 0.4965 GB, free: 5.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.1439, allocations: 368.5 kB / 0.4968 GB, free: 5.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.144, allocations: 107.1 kB / 0.4969 GB, free: 5.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1442, allocations: 82.12 kB / 0.497 GB, free: 5.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.1444, allocations: 378.8 kB / 0.4974 GB, free: 4.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.1448, allocations: 140.8 kB / 0.4975 GB, free: 4.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.1453, allocations: 203.1 kB / 0.4977 GB, free: 4.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.1461, allocations: 372.2 kB / 0.4981 GB, free: 3.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1461, allocations: 4 kB / 0.4981 GB, free: 3.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001216/0.1473, allocations: 0.5345 MB / 0.4986 GB, free: 3.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.1474, allocations: 33.7 kB / 0.4986 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1474, allocations: 7.922 kB / 0.4986 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.1477, allocations: 68.81 kB / 0.4987 GB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.148, allocations: 72.05 kB / 0.4988 GB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.1502, allocations: 1.814 MB / 0.5005 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.1505, allocations: 51.72 kB / 0.5006 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1506, allocations: 16 kB / 0.5006 GB, free: 1.188 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.0003761/0.1509, allocations: 282.2 kB / 0.5009 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.151, allocations: 71.52 kB / 0.5009 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.1521, allocations: 437.3 kB / 0.5014 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1521, allocations: 4 kB / 0.5014 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1521, allocations: 4 kB / 0.5014 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1521, allocations: 3.938 kB / 0.5014 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/0.1528, allocations: 0.5793 MB / 0.5019 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1528, allocations: 4 kB / 0.5019 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1531, allocations: 43.97 kB / 0.502 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.1533, allocations: 56.81 kB / 0.502 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1533, allocations: 15.92 kB / 0.502 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.1552, allocations: 1.803 MB / 0.5038 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1552, allocations: 0 / 0.5038 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.1567, allocations: 0.589 MB / 0.5044 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.157, allocations: 168.6 kB / 0.5045 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.157, allocations: 8 kB / 0.5045 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1573, allocations: 28.09 kB / 0.5046 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1574, allocations: 39.95 kB / 0.5046 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1574, allocations: 4 kB / 0.5046 GB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008421/0.1582, allocations: 0.6669 MB / 0.5053 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0 / 0.5053 GB, free: 12.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.1588, allocations: 147.5 kB / 0.5054 GB, free: 12.01 MB / 382.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.004034/0.1628, allocations: 1.635 MB / 0.507 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.164, allocations: 0.4903 MB / 0.5075 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.164, allocations: 4.125 kB / 0.5075 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.1646, allocations: 282.5 kB / 0.5078 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.1652, allocations: 94.22 kB / 0.5078 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.1755, allocations: 6.495 MB / 0.5142 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.1763, allocations: 0.9595 MB / 0.5151 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.1765, allocations: 76.33 kB / 0.5152 GB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.1768, allocations: 255.4 kB / 0.5154 GB, free: 1.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1768, allocations: 0 / 0.5154 GB, free: 1.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/0.4605, allocations: 14.21 MB / 0.5293 GB, free: 33.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.32, allocations: 5.188 kB / 0.5293 GB, free: 33.75 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: 16.16057300986722] Failed to read output from testmodel.py, exit status != 0: 13.481299477163702 13.503227925000001 13.370418953 Calling exit ...