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.000848/0.000848, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009295/0.0009295, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8341/0.8341, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.5936/0.5936, allocations: 116 MB / 375.2 MB, free: 4.148 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.133e-06/1.133e-06, allocations: 0 / 0.5533 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.306e-06/9.439e-06, allocations: 2.281 kB / 0.5533 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.3235/0.3235, allocations: 128.5 MB / 0.6787 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000428/0.324, allocations: 374.7 kB / 0.6791 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.324, allocations: 5.031 kB / 0.6791 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3242, allocations: 28.72 kB / 0.6791 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3246, allocations: 137.4 kB / 0.6792 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3248, allocations: 120.1 kB / 0.6793 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.325, allocations: 133.4 kB / 0.6795 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.325, allocations: 7.75 kB / 0.6795 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3252, allocations: 94.09 kB / 0.6796 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.3253, allocations: 33.14 kB / 0.6796 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3253, allocations: 4.438 kB / 0.6796 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.3255, allocations: 171.8 kB / 0.6798 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.3255, allocations: 23.03 kB / 0.6798 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3256, allocations: 23.92 kB / 0.6798 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3259, allocations: 222.5 kB / 0.68 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3259, allocations: 0 / 0.68 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3259, allocations: 0 / 0.68 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3259, allocations: 0 / 0.68 GB, free: 6.543 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.0003303/0.3262, allocations: 299.5 kB / 0.6803 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3262, allocations: 9.25 kB / 0.6803 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.3263, allocations: 39.16 kB / 0.6803 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3266, allocations: 54.64 kB / 0.6804 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3267, allocations: 124.3 kB / 0.6805 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3268, allocations: 5.594 kB / 0.6805 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3268, allocations: 8.656 kB / 0.6805 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.327, allocations: 192.3 kB / 0.6807 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.327, allocations: 3.938 kB / 0.6807 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.327, allocations: 10.06 kB / 0.6807 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.327, allocations: 1.062 kB / 0.6807 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.3271, allocations: 63.02 kB / 0.6808 GB, free: 5.934 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.0004796/0.3276, allocations: 496 kB / 0.6813 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3277, allocations: 77.34 kB / 0.6813 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.3277, allocations: 25.17 kB / 0.6814 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3277, allocations: 7.922 kB / 0.6814 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.3278, allocations: 36.41 kB / 0.6814 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.3278, allocations: 0 / 0.6814 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0001854/0.3279, allocations: 107.2 kB / 0.6815 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.328, allocations: 60.47 kB / 0.6816 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.207e-05/0.328, allocations: 113.8 kB / 0.6817 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.328, allocations: 29.02 kB / 0.6817 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.328, allocations: 94.27 kB / 0.6818 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.328, allocations: 26.5 kB / 0.6818 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.3281, allocations: 31.09 kB / 0.6818 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.325e-05/0.3281, allocations: 316.4 kB / 0.6821 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.3281, allocations: 23.27 kB / 0.6822 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.3282, allocations: 67.75 kB / 0.6822 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.3283, allocations: 97.84 kB / 0.6823 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3283, allocations: 2.375 kB / 0.6823 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001216/0.3284, allocations: 122.1 kB / 0.6824 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3284, allocations: 5.25 kB / 0.6824 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3284, allocations: 4.281 kB / 0.6825 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3284, allocations: 6.188 kB / 0.6825 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3286, allocations: 64.67 kB / 0.6825 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001585/0.3287, allocations: 0.5917 MB / 0.6831 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.3288, allocations: 14.52 kB / 0.6831 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3288, allocations: 10.69 kB / 0.6831 GB, free: 4.012 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 4.891e-05/0.3289, allocations: 114.9 kB / 0.6832 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.3289, allocations: 7.656 kB / 0.6832 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.3291, allocations: 124.9 kB / 0.6834 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3291, allocations: 5.469 kB / 0.6834 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3291, allocations: 0 / 0.6834 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3291, allocations: 2.625 kB / 0.6834 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3292, allocations: 167.5 kB / 0.6835 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3292, allocations: 7.188 kB / 0.6835 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3293, allocations: 46.78 kB / 0.6836 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3293, allocations: 3.344 kB / 0.6836 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3293, allocations: 6.078 kB / 0.6836 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-05/0.3294, allocations: 0.5879 MB / 0.6842 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3294, allocations: 5.875 kB / 0.6842 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.3295, allocations: 199.3 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.3295, allocations: 1.656 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.3295, allocations: 1.875 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.3296, allocations: 7.078 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.3296, allocations: 5.203 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3296, allocations: 8.031 kB / 0.6844 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.173e-05/0.3296, allocations: 86.36 kB / 0.6845 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.3296, allocations: 0 / 0.6845 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001849/0.3298, allocations: 37.66 kB / 0.6845 GB, free: 2.875 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.0002782/0.3301, allocations: 0.7502 MB / 0.6852 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.3303, allocations: 97.86 kB / 0.6853 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3303, allocations: 1.125 kB / 0.6853 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.3303, allocations: 59.81 kB / 0.6854 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3305, allocations: 19.75 kB / 0.6854 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.3314, allocations: 1.467 MB / 0.6868 GB, free: 16.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.3315, allocations: 78.38 kB / 0.6869 GB, free: 16.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.3315, allocations: 16.48 kB / 0.6869 GB, free: 16.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3316, allocations: 22.78 kB / 0.6869 GB, free: 16.84 MB / 0.573 GB Notification: Performance of SimCode: time 3.81e-07/0.3316, allocations: 1.203 kB / 0.6869 GB, free: 16.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.346, allocations: 4.143 MB / 0.691 GB, free: 15.76 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.47, allocations: 11.3 kB / 0.691 GB, free: 15.75 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: 9.778725704178214] Failed to read output from testmodel.py, exit status != 0: 7.553386693820357 7.562402133 7.234792265 Calling exit ...