Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009212/0.0009212, allocations: 85.67 kB / 19.27 MB, free: 0.582 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.001018/0.001018, allocations: 166 kB / 22.58 MB, free: 1.926 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.8783/0.8783, allocations: 177.1 MB / 202.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6431/0.6431, allocations: 116 MB / 375.4 MB, free: 4.156 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.5535 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.249e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.4483/0.4483, allocations: 128.5 MB / 0.6789 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.449, allocations: 376.3 kB / 0.6793 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.4491, allocations: 4.469 kB / 0.6793 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.4494, allocations: 26.88 kB / 0.6793 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.45, allocations: 138.1 kB / 0.6794 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.4504, allocations: 120.9 kB / 0.6796 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.4507, allocations: 130.4 kB / 0.6797 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.4508, allocations: 3.422 kB / 0.6797 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.4511, allocations: 104.5 kB / 0.6798 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.4511, allocations: 29.03 kB / 0.6798 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4512, allocations: 4 kB / 0.6798 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.4515, allocations: 173.5 kB / 0.68 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.4516, allocations: 18.66 kB / 0.68 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.4516, allocations: 22.56 kB / 0.68 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.452, allocations: 223.8 kB / 0.6802 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.452, allocations: 1.125 kB / 0.6802 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.793e-06/0.452, allocations: 0 / 0.6802 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.452, allocations: 0 / 0.6802 GB, free: 6.582 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.0004561/0.4524, allocations: 301.2 kB / 0.6805 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4525, allocations: 10.28 kB / 0.6805 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.4525, allocations: 36.38 kB / 0.6806 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.4529, allocations: 48.42 kB / 0.6806 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.4532, allocations: 128 kB / 0.6807 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4532, allocations: 3.594 kB / 0.6807 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4532, allocations: 10.28 kB / 0.6808 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4534, allocations: 195.9 kB / 0.6809 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4535, allocations: 4.906 kB / 0.6809 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.4535, allocations: 7.625 kB / 0.6809 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4535, allocations: 1.75 kB / 0.681 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4536, allocations: 62.03 kB / 0.681 GB, free: 5.969 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.0006356/0.4542, allocations: 493.5 kB / 0.6815 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.4544, allocations: 75 kB / 0.6816 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.4544, allocations: 30.92 kB / 0.6816 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4545, allocations: 5.375 kB / 0.6816 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.4545, allocations: 33.95 kB / 0.6816 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.4545, allocations: 2.516 kB / 0.6816 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0002275/0.4547, allocations: 100.8 kB / 0.6817 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.4547, allocations: 58.53 kB / 0.6818 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.4548, allocations: 116.5 kB / 0.6819 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.4548, allocations: 27.05 kB / 0.6819 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.4548, allocations: 95.91 kB / 0.682 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.4549, allocations: 25.44 kB / 0.682 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.4549, allocations: 35.97 kB / 0.6821 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.4549, allocations: 314.7 kB / 0.6824 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.455, allocations: 25.56 kB / 0.6824 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.455, allocations: 68.8 kB / 0.6825 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.4551, allocations: 94.44 kB / 0.6825 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4551, allocations: 0 / 0.6825 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000157/0.4553, allocations: 126.9 kB / 0.6827 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4553, allocations: 9.141 kB / 0.6827 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4553, allocations: 1.188 kB / 0.6827 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4553, allocations: 2.5 kB / 0.6827 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.4556, allocations: 65.28 kB / 0.6827 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.4558, allocations: 0.5876 MB / 0.6833 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.4558, allocations: 15.95 kB / 0.6833 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.4558, allocations: 9.469 kB / 0.6833 GB, free: 4.059 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 6.648e-05/0.4559, allocations: 121.2 kB / 0.6835 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.4559, allocations: 7.125 kB / 0.6835 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.4561, allocations: 127.4 kB / 0.6836 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4561, allocations: 2.641 kB / 0.6836 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4562, allocations: 0 / 0.6836 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4562, allocations: 0 / 0.6836 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.4563, allocations: 168.2 kB / 0.6837 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4563, allocations: 3.938 kB / 0.6837 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4565, allocations: 59.05 kB / 0.6838 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4565, allocations: 1.406 kB / 0.6838 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4565, allocations: 1.25 kB / 0.6838 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001453/0.4566, allocations: 0.5843 MB / 0.6844 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4566, allocations: 0 / 0.6844 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4568, allocations: 200.7 kB / 0.6846 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.4568, allocations: 7.094 kB / 0.6846 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4568, allocations: 0 / 0.6846 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.4569, allocations: 5.125 kB / 0.6846 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.4569, allocations: 4.094 kB / 0.6846 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4569, allocations: 17.03 kB / 0.6846 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.4569, allocations: 83.89 kB / 0.6847 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4569, allocations: 0 / 0.6847 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002487/0.4572, allocations: 35.09 kB / 0.6847 GB, free: 2.914 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.0004523/0.4576, allocations: 0.7502 MB / 0.6854 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4579, allocations: 102.1 kB / 0.6855 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4579, allocations: 0 / 0.6855 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.4579, allocations: 52.88 kB / 0.6856 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4582, allocations: 17.38 kB / 0.6856 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4594, allocations: 1.472 MB / 0.687 GB, free: 16.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.4595, allocations: 74.53 kB / 0.6871 GB, free: 16.91 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.98e-05/0.4596, allocations: 19.94 kB / 0.6871 GB, free: 16.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4596, allocations: 19.94 kB / 0.6872 GB, free: 16.89 MB / 0.573 GB Notification: Performance of SimCode: time 1.203e-06/0.4596, allocations: 0 / 0.6872 GB, free: 16.89 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.4832, allocations: 4.157 MB / 0.6912 GB, free: 15.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.316, allocations: 1.094 kB / 0.6912 GB, free: 15.8 MB / 0.573 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 10.830485127866268] Failed to read output from testmodel.py, exit status != 0: 8.402616404928267 8.410826196 7.957051392 Calling exit ...