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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 84.52 kB / 19.43 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 158 kB / 22.75 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8634/0.8634, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.0247/0.0247, allocations: 6.472 MB / 266 MB, free: 6.684 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.263e-06/1.263e-06, allocations: 0 / 336.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.736e-06/9.999e-06, allocations: 2.312 kB / 336.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.002979/0.002989, allocations: 3.679 MB / 340.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.004529, allocations: 1.916 MB / 342.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.004718, allocations: 11.94 kB / 342.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.005067, allocations: 202.8 kB / 342.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.00552, allocations: 294.3 kB / 342.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.005971, allocations: 379.1 kB / 343.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.006375, allocations: 0.6938 MB / 344 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.006654, allocations: 229.7 kB / 344.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.006969, allocations: 410.9 kB / 344.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.007186, allocations: 271.2 kB / 344.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.007233, allocations: 64 kB / 344.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.007341, allocations: 127.9 kB / 345.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.007452, allocations: 231.2 kB / 345.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.007571, allocations: 223.3 kB / 345.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.00809, allocations: 0.9423 MB / 346.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008093, allocations: 3.984 kB / 346.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008094, allocations: 0 / 346.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.008101, allocations: 0 / 346.5 MB, free: 2.008 MB / 266.7 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.001032/0.009133, allocations: 1.093 MB / 347.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.009167, allocations: 12.03 kB / 347.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.009218, allocations: 86.7 kB / 347.6 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.009327, allocations: 136.3 kB / 347.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.00979, allocations: 0.5566 MB / 348.3 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.009816, allocations: 33.38 kB / 348.4 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.009893, allocations: 60.16 kB / 348.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.01048, allocations: 495.6 kB / 348.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.0105, allocations: 0 / 348.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.01053, allocations: 16 kB / 348.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01054, allocations: 12 kB / 348.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.01106, allocations: 355.7 kB / 349.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.01292, allocations: 1.674 MB / 351 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.0135, allocations: 332.6 kB / 351.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.01371, allocations: 132.8 kB / 351.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.01375, allocations: 4 kB / 351.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.01406, allocations: 195.8 kB / 351.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.01406, allocations: 0 / 351.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001066/0.01513, allocations: 0.5954 MB / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.01516, allocations: 55.41 kB / 352.3 MB, free: 12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.01601, allocations: 0.9496 MB / 353.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.01605, allocations: 33.7 kB / 353.2 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.01632, allocations: 376.4 kB / 353.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.0164, allocations: 107 kB / 353.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.0165, allocations: 86.17 kB / 353.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01661, allocations: 322 kB / 354.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.01688, allocations: 166.6 kB / 354.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.01717, allocations: 233.5 kB / 354.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.01768, allocations: 368.2 kB / 354.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01769, allocations: 0 / 354.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007156/0.0184, allocations: 0.583 MB / 355.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.01843, allocations: 29.7 kB / 355.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01844, allocations: 4 kB / 355.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.01863, allocations: 60.81 kB / 355.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.0188, allocations: 79.98 kB / 355.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.02005, allocations: 1.711 MB / 357.3 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.02022, allocations: 51.81 kB / 357.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.02024, allocations: 15.94 kB / 357.4 MB, free: 6.613 MB / 282.7 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.0002319/0.02047, allocations: 269.7 kB / 357.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.02054, allocations: 87.47 kB / 357.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.02128, allocations: 433.2 kB / 358.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.02129, allocations: 4 kB / 358.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02129, allocations: 0 / 358.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.02129, allocations: 0 / 358.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.02167, allocations: 496.3 kB / 358.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.02168, allocations: 7.938 kB / 358.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.02182, allocations: 51.89 kB / 358.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.02194, allocations: 60.81 kB / 358.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.02196, allocations: 4 kB / 358.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.02303, allocations: 1.711 MB / 360.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.02303, allocations: 0 / 360.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.02386, allocations: 0.6059 MB / 361.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.02394, allocations: 95.42 kB / 361.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.02398, allocations: 8 kB / 361.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.0241, allocations: 27.97 kB / 361.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.0242, allocations: 35.94 kB / 361.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.02422, allocations: 4 kB / 361.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008876/0.0251, allocations: 0.6864 MB / 361.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0251, allocations: 0 / 361.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.02546, allocations: 139.7 kB / 362.1 MB, free: 1.727 MB / 282.7 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.001982/0.02745, allocations: 1.701 MB / 363.8 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.02816, allocations: 0.5286 MB / 364.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02816, allocations: 0 / 364.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.02845, allocations: 278.8 kB / 364.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02877, allocations: 82.91 kB / 364.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.03542, allocations: 6.708 MB / 371.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.03568, allocations: 366.7 kB / 371.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.03583, allocations: 76.33 kB / 371.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.03608, allocations: 264.4 kB / 372.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.03608, allocations: 0 / 372.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.06716, allocations: 15.36 MB / 387.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.052, allocations: 3.516 kB / 387.4 MB, free: 8.457 MB / 314.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 9.77120996080339] Failed to read output from testmodel.py, exit status != 0: 8.165844783186913 8.175754878 8.165878131 Calling exit ...