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.0008983/0.0008983, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008826/0.0008826, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9888/0.9888, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7454/0.7454, allocations: 118.6 MB / 377.8 MB, free: 1.602 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.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 1.523e-06/1.523e-06, allocations: 0 / 0.5572 GB, free: 9.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.223e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.436/0.436, allocations: 128.5 MB / 0.6826 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.4366, allocations: 374.2 kB / 0.683 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.4366, allocations: 0 / 0.683 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.437, allocations: 29.25 kB / 0.683 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.4374, allocations: 137.5 kB / 0.6831 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.4377, allocations: 121.8 kB / 0.6832 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.4379, allocations: 134.3 kB / 0.6834 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.438, allocations: 2.719 kB / 0.6834 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.4382, allocations: 92.53 kB / 0.6835 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.4383, allocations: 34.31 kB / 0.6835 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4383, allocations: 3.875 kB / 0.6835 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.4386, allocations: 168 kB / 0.6837 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.4387, allocations: 25.39 kB / 0.6837 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.4387, allocations: 23 kB / 0.6837 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.4391, allocations: 225.9 kB / 0.6839 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4391, allocations: 0 / 0.6839 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4391, allocations: 0 / 0.6839 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.4391, allocations: 0 / 0.6839 GB, free: 6.062 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004419/0.4395, allocations: 305 kB / 0.6842 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4396, allocations: 10.19 kB / 0.6842 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.4396, allocations: 36.59 kB / 0.6843 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.44, allocations: 53.34 kB / 0.6843 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4404, allocations: 127.4 kB / 0.6844 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4404, allocations: 4.516 kB / 0.6844 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4404, allocations: 11.12 kB / 0.6844 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4406, allocations: 194.8 kB / 0.6846 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4406, allocations: 6.562 kB / 0.6846 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4406, allocations: 1.406 kB / 0.6846 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4406, allocations: 2.812 kB / 0.6846 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4407, allocations: 66.8 kB / 0.6847 GB, free: 5.441 MB / 0.5573 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.0005609/0.4413, allocations: 492.3 kB / 0.6852 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.4415, allocations: 72.56 kB / 0.6852 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4415, allocations: 30.45 kB / 0.6853 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4415, allocations: 5.438 kB / 0.6853 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.4415, allocations: 31.59 kB / 0.6853 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4415, allocations: 0 / 0.6853 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0002311/0.4418, allocations: 111.8 kB / 0.6854 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.4418, allocations: 62.55 kB / 0.6855 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.4419, allocations: 118.8 kB / 0.6856 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4419, allocations: 26.98 kB / 0.6856 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.4419, allocations: 96.02 kB / 0.6857 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.4419, allocations: 27.84 kB / 0.6857 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.442, allocations: 26.11 kB / 0.6858 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.442, allocations: 318.9 kB / 0.6861 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.442, allocations: 24 kB / 0.6861 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.4421, allocations: 65.3 kB / 0.6861 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4422, allocations: 99.53 kB / 0.6862 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4422, allocations: 0 / 0.6862 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001579/0.4424, allocations: 119 kB / 0.6864 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4424, allocations: 5.406 kB / 0.6864 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4424, allocations: 7.734 kB / 0.6864 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4424, allocations: 2.188 kB / 0.6864 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.4426, allocations: 68.78 kB / 0.6864 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001658/0.4428, allocations: 0.5842 MB / 0.687 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.4428, allocations: 15.14 kB / 0.687 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4428, allocations: 10.14 kB / 0.687 GB, free: 3.531 MB / 0.5573 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 5.007e-05/0.4429, allocations: 119 kB / 0.6871 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.4429, allocations: 6.031 kB / 0.6871 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.4432, allocations: 123 kB / 0.6873 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4432, allocations: 5.062 kB / 0.6873 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4432, allocations: 0 / 0.6873 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4432, allocations: 1.031 kB / 0.6873 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4434, allocations: 168.9 kB / 0.6874 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4434, allocations: 7.203 kB / 0.6874 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4435, allocations: 53.61 kB / 0.6875 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4435, allocations: 2.453 kB / 0.6875 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4435, allocations: 3.75 kB / 0.6875 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001158/0.4437, allocations: 0.5876 MB / 0.6881 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.4437, allocations: 0 / 0.6881 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.4438, allocations: 195.5 kB / 0.6883 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.4438, allocations: 6.891 kB / 0.6883 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.4438, allocations: 12.36 kB / 0.6883 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.4438, allocations: 1.188 kB / 0.6883 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.4439, allocations: 7.625 kB / 0.6883 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4439, allocations: 9.422 kB / 0.6883 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.4439, allocations: 87.44 kB / 0.6884 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4439, allocations: 1.203 kB / 0.6884 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000187/0.4441, allocations: 37.7 kB / 0.6884 GB, free: 2.387 MB / 0.5573 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.0003133/0.4444, allocations: 0.7489 MB / 0.6891 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4446, allocations: 99.64 kB / 0.6892 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4446, allocations: 1.438 kB / 0.6892 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.4447, allocations: 57.17 kB / 0.6893 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.4449, allocations: 14.39 kB / 0.6893 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.446, allocations: 1.474 MB / 0.6907 GB, free: 16.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.4461, allocations: 66.66 kB / 0.6908 GB, free: 16.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.348e-05/0.4461, allocations: 20.44 kB / 0.6908 GB, free: 16.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.4462, allocations: 21.33 kB / 0.6909 GB, free: 16.37 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/0.4462, allocations: 6.297 kB / 0.6909 GB, free: 16.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.4634, allocations: 4.14 MB / 0.6949 GB, free: 15.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.454, allocations: 6.641 kB / 0.6949 GB, free: 15.29 MB / 0.573 GB " [Timeout remaining time 651] (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: 11.483605854213238]