Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.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.001146/0.001146, allocations: 88.72 kB / 19.44 MB, free: 348 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.001354/0.001354, allocations: 161.3 kB / 22.75 MB, free: 1.676 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.9173/0.9173, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.662/0.662, allocations: 118.6 MB / 378.2 MB, free: 1.484 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 1.594 kB / 482.4 MB, free: 8.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.199e-05, allocations: 5.812 kB / 482.4 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.1348/0.1349, allocations: 164.1 MB / 0.6314 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1376, allocations: 2.348 MB / 0.6337 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.1379, allocations: 39.62 kB / 0.6337 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.1385, allocations: 289.9 kB / 0.634 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.14, allocations: 0.7182 MB / 0.6347 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1418, allocations: 1.035 MB / 0.6357 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006441/0.1425, allocations: 0.9842 MB / 0.6367 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1426, allocations: 113.9 kB / 0.6368 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1438, allocations: 0.8021 MB / 0.6376 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.144, allocations: 299.2 kB / 0.6379 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.1441, allocations: 32 kB / 0.6379 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.1449, allocations: 0.6356 MB / 0.6385 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.145, allocations: 103.5 kB / 0.6386 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1451, allocations: 183.5 kB / 0.6388 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.1461, allocations: 1.094 MB / 0.6399 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1461, allocations: 0 / 0.6399 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1461, allocations: 4 kB / 0.6399 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.1461, allocations: 0 / 0.6399 GB, free: 4.141 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001061/0.1472, allocations: 0.9089 MB / 0.6408 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1472, allocations: 12.03 kB / 0.6408 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.1473, allocations: 78.53 kB / 0.6408 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.1476, allocations: 159.2 kB / 0.641 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.1482, allocations: 490.7 kB / 0.6415 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1482, allocations: 29 kB / 0.6415 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.1482, allocations: 44 kB / 0.6415 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.1487, allocations: 445.5 kB / 0.642 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1487, allocations: 0 / 0.642 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1487, allocations: 24 kB / 0.642 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1487, allocations: 12 kB / 0.642 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.149, allocations: 251.8 kB / 0.6422 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1506, allocations: 1.373 MB / 0.6436 GB, free: 192 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.1509, allocations: 173.2 kB / 0.6437 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1511, allocations: 60.02 kB / 0.6438 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1512, allocations: 15.17 kB / 0.6438 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1512, allocations: 33.45 kB / 0.6438 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.1512, allocations: 0 / 0.6438 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0008153/0.152, allocations: 313.5 kB / 0.6441 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.152, allocations: 79.2 kB / 0.6442 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.1526, allocations: 0.494 MB / 0.6447 GB, free: 173.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1527, allocations: 34.23 kB / 0.6447 GB, free: 173.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1528, allocations: 311.8 kB / 0.645 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1529, allocations: 60.28 kB / 0.6451 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.1529, allocations: 65.95 kB / 0.6451 GB, free: 173.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.153, allocations: 359 kB / 0.6455 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.1531, allocations: 56.11 kB / 0.6455 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1532, allocations: 113.5 kB / 0.6457 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1535, allocations: 187.2 kB / 0.6458 GB, free: 172.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1535, allocations: 1.219 kB / 0.6458 GB, free: 172.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005054/0.154, allocations: 321 kB / 0.6461 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.154, allocations: 8.844 kB / 0.6461 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.154, allocations: 2.531 kB / 0.6461 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.1543, allocations: 71.06 kB / 0.6462 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.1546, allocations: 101.9 kB / 0.6463 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.156, allocations: 3.199 MB / 0.6494 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1561, allocations: 28.7 kB / 0.6495 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.1562, allocations: 37.77 kB / 0.6495 GB, free: 169.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.1564, allocations: 166.9 kB / 0.6497 GB, free: 169.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1565, allocations: 63.59 kB / 0.6497 GB, free: 169.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.1573, allocations: 0.6208 MB / 0.6503 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1573, allocations: 2.094 kB / 0.6503 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1573, allocations: 0.9375 kB / 0.6503 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1573, allocations: 5 kB / 0.6503 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.158, allocations: 0.7912 MB / 0.6511 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.158, allocations: 1.031 kB / 0.6511 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1582, allocations: 73.36 kB / 0.6512 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.1584, allocations: 65.06 kB / 0.6512 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1584, allocations: 11.72 kB / 0.6513 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000866/0.1592, allocations: 3.202 MB / 0.6544 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1592, allocations: 1.438 kB / 0.6544 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1596, allocations: 415.3 kB / 0.6548 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.1596, allocations: 66.17 kB / 0.6548 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.1597, allocations: 6.75 kB / 0.6548 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1598, allocations: 6.75 kB / 0.6549 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1598, allocations: 21.75 kB / 0.6549 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.1598, allocations: 25.64 kB / 0.6549 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002583/0.1601, allocations: 357.2 kB / 0.6552 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1601, allocations: 6.125 kB / 0.6552 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004869/0.1606, allocations: 173.7 kB / 0.6554 GB, free: 164.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005829/0.1612, allocations: 1.133 MB / 0.6565 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.1616, allocations: 313.7 kB / 0.6568 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1616, allocations: 2.625 kB / 0.6568 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.1618, allocations: 222.4 kB / 0.657 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.1625, allocations: 232.6 kB / 0.6573 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1653, allocations: 3.83 MB / 0.661 GB, free: 161.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.1655, allocations: 250.8 kB / 0.6612 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004153/0.1659, allocations: 378.9 kB / 0.6616 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1661, allocations: 248 kB / 0.6618 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.1661, allocations: 0 / 0.6618 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.195, allocations: 16.77 MB / 0.6782 GB, free: 156.1 MB / 0.5573 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.673, allocations: 12.98 kB / 0.6782 GB, free: 156.1 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.445470145001309]