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.0008077/0.0008077, 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.0008191/0.0008191, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8649/0.8649, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.624/0.624, allocations: 116 MB / 375.2 MB, free: 4.164 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.943e-06/1.943e-06, allocations: 0 / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.571e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.3865/0.3865, allocations: 128.5 MB / 0.6787 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000607/0.3871, allocations: 374.3 kB / 0.6791 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3872, allocations: 4.594 kB / 0.6791 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.3875, allocations: 24.56 kB / 0.6791 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.3879, allocations: 141.8 kB / 0.6792 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.3882, allocations: 121 kB / 0.6793 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3885, allocations: 132.2 kB / 0.6795 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3885, allocations: 4.344 kB / 0.6795 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3887, allocations: 94.22 kB / 0.6796 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.3888, allocations: 36.25 kB / 0.6796 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3888, allocations: 3.938 kB / 0.6796 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.3891, allocations: 171.1 kB / 0.6798 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3891, allocations: 21.48 kB / 0.6798 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3892, allocations: 25.75 kB / 0.6798 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.3895, allocations: 221.2 kB / 0.68 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3895, allocations: 0.9688 kB / 0.68 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3895, allocations: 0 / 0.68 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3895, allocations: 0 / 0.68 GB, free: 6.523 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.000336/0.3898, allocations: 296.8 kB / 0.6803 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3899, allocations: 9.281 kB / 0.6803 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.3899, allocations: 42.23 kB / 0.6803 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.3902, allocations: 47.11 kB / 0.6804 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.3904, allocations: 125.6 kB / 0.6805 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3904, allocations: 6.531 kB / 0.6805 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.3904, allocations: 8.5 kB / 0.6805 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3906, allocations: 201.2 kB / 0.6807 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3906, allocations: 3.938 kB / 0.6807 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3907, allocations: 3.469 kB / 0.6807 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3907, allocations: 2.094 kB / 0.6807 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3908, allocations: 65.31 kB / 0.6808 GB, free: 5.914 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.0005582/0.3913, allocations: 0.4895 MB / 0.6813 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3915, allocations: 69.5 kB / 0.6813 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.3916, allocations: 30.41 kB / 0.6814 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3916, allocations: 1.094 kB / 0.6814 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.3916, allocations: 37.2 kB / 0.6814 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.3916, allocations: 0 / 0.6814 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0002165/0.3918, allocations: 108.6 kB / 0.6815 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.3918, allocations: 56.53 kB / 0.6816 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.3919, allocations: 119.8 kB / 0.6817 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3919, allocations: 29.02 kB / 0.6817 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.3919, allocations: 93.56 kB / 0.6818 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.3919, allocations: 21.98 kB / 0.6818 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.392, allocations: 31.33 kB / 0.6818 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.392, allocations: 315.2 kB / 0.6821 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.3921, allocations: 25.56 kB / 0.6822 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.3921, allocations: 67.67 kB / 0.6822 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.3922, allocations: 103 kB / 0.6823 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3922, allocations: 0 / 0.6823 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001377/0.3923, allocations: 122.4 kB / 0.6824 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3924, allocations: 6.641 kB / 0.6824 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3924, allocations: 1.219 kB / 0.6825 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3924, allocations: 6.672 kB / 0.6825 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3926, allocations: 68.22 kB / 0.6825 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001677/0.3927, allocations: 0.5938 MB / 0.6831 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3928, allocations: 15.45 kB / 0.6831 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3928, allocations: 7.906 kB / 0.6831 GB, free: 3.992 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.376e-05/0.3929, allocations: 114.8 kB / 0.6832 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.3929, allocations: 6.906 kB / 0.6832 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3931, allocations: 125.6 kB / 0.6834 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3931, allocations: 1.375 kB / 0.6834 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3931, allocations: 5.203 kB / 0.6834 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3931, allocations: 1.781 kB / 0.6834 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3932, allocations: 168.2 kB / 0.6835 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3932, allocations: 3.938 kB / 0.6835 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.3934, allocations: 49.36 kB / 0.6836 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3934, allocations: 0 / 0.6836 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3934, allocations: 4.656 kB / 0.6836 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.3935, allocations: 0.5908 MB / 0.6842 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3935, allocations: 0 / 0.6842 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.3936, allocations: 200.9 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.3936, allocations: 3.906 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3936, allocations: 0.75 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.3937, allocations: 8.312 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3937, allocations: 4.156 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3937, allocations: 7.984 kB / 0.6844 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.3937, allocations: 88.3 kB / 0.6845 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3937, allocations: 0 / 0.6845 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002135/0.394, allocations: 34.34 kB / 0.6845 GB, free: 2.855 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.0003561/0.3943, allocations: 0.7536 MB / 0.6852 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3945, allocations: 93.83 kB / 0.6853 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3945, allocations: 5.375 kB / 0.6853 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.3946, allocations: 59.55 kB / 0.6854 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3948, allocations: 17.73 kB / 0.6854 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3959, allocations: 1.463 MB / 0.6868 GB, free: 16.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.3959, allocations: 74.3 kB / 0.6869 GB, free: 16.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.396, allocations: 20.84 kB / 0.6869 GB, free: 16.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3961, allocations: 21.58 kB / 0.6869 GB, free: 16.82 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/0.3961, allocations: 1.375 kB / 0.6869 GB, free: 16.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4157, allocations: 4.145 MB / 0.691 GB, free: 15.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.489, allocations: 5.094 kB / 0.691 GB, free: 15.74 MB / 0.573 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 11.078292161226273] Failed to read output from testmodel.py, exit status != 0: 8.579788546077907 8.594357801 8.201577745 Calling exit ...