Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.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.0007988/0.0007988, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0007804/0.0007804, allocations: 213.7 kB / 22.25 MB, free: 3.566 MB / 13.93 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.971/0.971, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.6903/0.6903, allocations: 154.1 MB / 466.6 MB, free: 3.293 MB / 362.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.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 87.81 kB / 0.6438 GB, free: 28.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.138, allocations: 88.77 MB / 0.7304 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.5169/0.6549, allocations: 128.4 MB / 0.8559 GB, free: 320 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005759/0.6555, allocations: 375.1 kB / 0.8562 GB, free: 288 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.6555, allocations: 0.625 kB / 0.8562 GB, free: 288 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.6558, allocations: 31.38 kB / 0.8562 GB, free: 276 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.6563, allocations: 134 kB / 0.8564 GB, free: 244 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.6566, allocations: 117 kB / 0.8565 GB, free: 228 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.6568, allocations: 135.7 kB / 0.8566 GB, free: 204 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.6569, allocations: 7.344 kB / 0.8566 GB, free: 204 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.6571, allocations: 78.98 kB / 0.8567 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.6572, allocations: 38.34 kB / 0.8567 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.6572, allocations: 4.219 kB / 0.8567 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.6575, allocations: 170.6 kB / 0.8569 GB, free: 176 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.6576, allocations: 13.94 kB / 0.8569 GB, free: 176 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.6577, allocations: 33.77 kB / 0.8569 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.658, allocations: 197 kB / 0.8571 GB, free: 164 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.658, allocations: 0 / 0.8571 GB, free: 164 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.658, allocations: 1.031 kB / 0.8571 GB, free: 164 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.658, allocations: 0 / 0.8571 GB, free: 164 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004439/0.6585, allocations: 300.1 kB / 0.8574 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6585, allocations: 9.531 kB / 0.8574 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.6586, allocations: 39.66 kB / 0.8575 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.6589, allocations: 39.97 kB / 0.8575 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.6592, allocations: 137.4 kB / 0.8576 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6592, allocations: 2.688 kB / 0.8576 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.6592, allocations: 8.562 kB / 0.8576 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.6595, allocations: 190.6 kB / 0.8578 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6595, allocations: 2.219 kB / 0.8578 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6595, allocations: 1.156 kB / 0.8578 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.6595, allocations: 2.031 kB / 0.8578 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.6596, allocations: 67.69 kB / 0.8579 GB, free: 15.55 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.6604, allocations: 499.2 kB / 0.8584 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6606, allocations: 74.8 kB / 0.8584 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.6606, allocations: 27 kB / 0.8585 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6607, allocations: 4.094 kB / 0.8585 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.6607, allocations: 35.88 kB / 0.8585 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.6607, allocations: 0 / 0.8585 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002289/0.6609, allocations: 108.4 kB / 0.8586 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.661, allocations: 60.22 kB / 0.8587 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.661, allocations: 117 kB / 0.8588 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.661, allocations: 27.72 kB / 0.8588 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.6611, allocations: 102.6 kB / 0.8589 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.6611, allocations: 18.06 kB / 0.8589 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.6611, allocations: 33.8 kB / 0.859 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.6612, allocations: 318.5 kB / 0.8593 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.6613, allocations: 23.97 kB / 0.8593 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.6613, allocations: 64.19 kB / 0.8593 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.6614, allocations: 104.4 kB / 0.8594 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6614, allocations: 1.219 kB / 0.8594 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001464/0.6616, allocations: 118 kB / 0.8596 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6616, allocations: 9.406 kB / 0.8596 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6616, allocations: 3.453 kB / 0.8596 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6616, allocations: 6.469 kB / 0.8596 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.6618, allocations: 58.92 kB / 0.8596 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000272/0.6621, allocations: 0.5905 MB / 0.8602 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.6622, allocations: 10.89 kB / 0.8602 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.6622, allocations: 12.09 kB / 0.8602 GB, free: 13.64 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.6623, allocations: 120.3 kB / 0.8603 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.6623, allocations: 6.578 kB / 0.8604 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.6625, allocations: 126 kB / 0.8605 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6625, allocations: 1.375 kB / 0.8605 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6625, allocations: 4.797 kB / 0.8605 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6625, allocations: 1.094 kB / 0.8605 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.6628, allocations: 177.7 kB / 0.8607 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6628, allocations: 0 / 0.8607 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.6629, allocations: 46.3 kB / 0.8607 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.6629, allocations: 5.344 kB / 0.8607 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6629, allocations: 4.562 kB / 0.8607 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002307/0.6632, allocations: 0.5915 MB / 0.8613 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6632, allocations: 5.406 kB / 0.8613 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.6633, allocations: 192.9 kB / 0.8615 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.6633, allocations: 2.344 kB / 0.8615 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.6633, allocations: 7.781 kB / 0.8615 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.6634, allocations: 1.531 kB / 0.8615 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.6634, allocations: 10.44 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.6634, allocations: 9.359 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.6635, allocations: 86.86 kB / 0.8616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6635, allocations: 1.281 kB / 0.8616 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002313/0.6637, allocations: 35.42 kB / 0.8616 GB, free: 12.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000464/0.6642, allocations: 0.7499 MB / 0.8624 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.6644, allocations: 94.48 kB / 0.8624 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6644, allocations: 4 kB / 0.8624 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.6645, allocations: 59.39 kB / 0.8625 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.6648, allocations: 22.31 kB / 0.8625 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6661, allocations: 1.489 MB / 0.864 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.6662, allocations: 69.69 kB / 0.864 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.663e-05/0.6662, allocations: 21.05 kB / 0.8641 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.6663, allocations: 18.05 kB / 0.8641 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.6663, allocations: 0 / 0.8641 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.6857, allocations: 4.011 MB / 0.868 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.991, allocations: 10.36 kB / 0.868 GB, free: 9.461 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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.MediumInversion_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.985342787578702]