Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.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.001137/0.001137, allocations: 81.67 kB / 19.27 MB, free: 0.6055 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.001276/0.001276, allocations: 166 kB / 22.57 MB, free: 1.949 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.9185/0.9185, allocations: 177.1 MB / 202.9 MB, free: 5.699 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.6537/0.6537, allocations: 116 MB / 375.4 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.Inversion1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.72e-05, allocations: 6.25 kB / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.4086/0.4086, allocations: 164.1 MB / 0.7138 GB, free: 12.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.4117, allocations: 2.33 MB / 0.716 GB, free: 10.21 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.4122, allocations: 41.81 kB / 0.7161 GB, free: 10.19 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.4129, allocations: 305.9 kB / 0.7164 GB, free: 9.945 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.4144, allocations: 0.7015 MB / 0.7171 GB, free: 9.383 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.4164, allocations: 1.019 MB / 0.7181 GB, free: 8.633 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0008578/0.4173, allocations: 0.9821 MB / 0.719 GB, free: 8.031 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.4175, allocations: 105 kB / 0.7191 GB, free: 7.969 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.4187, allocations: 0.7938 MB / 0.7199 GB, free: 7.469 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.419, allocations: 293.6 kB / 0.7202 GB, free: 7.324 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.419, allocations: 38.72 kB / 0.7202 GB, free: 7.32 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.4201, allocations: 0.6382 MB / 0.7208 GB, free: 7.035 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.4202, allocations: 100.8 kB / 0.7209 GB, free: 6.949 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4203, allocations: 180.6 kB / 0.7211 GB, free: 6.871 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4215, allocations: 1.078 MB / 0.7222 GB, free: 6.219 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4215, allocations: 4 kB / 0.7222 GB, free: 6.215 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4215, allocations: 0 / 0.7222 GB, free: 6.215 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.4215, allocations: 0 / 0.7222 GB, free: 6.215 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001412/0.4229, allocations: 0.8974 MB / 0.723 GB, free: 5.504 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.423, allocations: 10.47 kB / 0.723 GB, free: 5.504 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.423, allocations: 83.61 kB / 0.7231 GB, free: 5.426 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.4233, allocations: 88.94 kB / 0.7232 GB, free: 5.383 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.4239, allocations: 483.5 kB / 0.7237 GB, free: 5.023 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4239, allocations: 29.38 kB / 0.7237 GB, free: 5.012 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.424, allocations: 38.75 kB / 0.7237 GB, free: 5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.4244, allocations: 448 kB / 0.7242 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4245, allocations: 0 / 0.7242 GB, free: 4.703 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.4245, allocations: 18.56 kB / 0.7242 GB, free: 4.688 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4245, allocations: 10.62 kB / 0.7242 GB, free: 4.688 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.4248, allocations: 256.7 kB / 0.7244 GB, free: 4.574 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.4263, allocations: 1.364 MB / 0.7258 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.4266, allocations: 175.7 kB / 0.7259 GB, free: 3.41 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.4267, allocations: 67.14 kB / 0.726 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.4268, allocations: 12.11 kB / 0.726 GB, free: 3.363 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4268, allocations: 40.97 kB / 0.726 GB, free: 3.316 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.4268, allocations: 2.719 kB / 0.7261 GB, free: 3.316 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0006007/0.4274, allocations: 290.2 kB / 0.7263 GB, free: 3.172 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4274, allocations: 79.39 kB / 0.7264 GB, free: 3.078 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.4278, allocations: 493.8 kB / 0.7269 GB, free: 2.781 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4278, allocations: 25.7 kB / 0.7269 GB, free: 2.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.428, allocations: 308 kB / 0.7272 GB, free: 2.477 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.428, allocations: 63.42 kB / 0.7273 GB, free: 2.422 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.4281, allocations: 73.64 kB / 0.7273 GB, free: 2.375 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4282, allocations: 357.5 kB / 0.7277 GB, free: 2.027 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.4283, allocations: 55.72 kB / 0.7277 GB, free: 2.004 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.4284, allocations: 120 kB / 0.7278 GB, free: 1.906 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.4286, allocations: 182.1 kB / 0.728 GB, free: 1.777 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4286, allocations: 6.281 kB / 0.728 GB, free: 1.773 MB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003607/0.4289, allocations: 302.1 kB / 0.7283 GB, free: 1.621 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4289, allocations: 11.61 kB / 0.7283 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4289, allocations: 0 / 0.7283 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.4291, allocations: 46.55 kB / 0.7284 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.4293, allocations: 101.4 kB / 0.7285 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.4313, allocations: 3.193 MB / 0.7316 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4314, allocations: 31.86 kB / 0.7316 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.4315, allocations: 35.77 kB / 0.7316 GB, free: 14.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.4317, allocations: 155.3 kB / 0.7318 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4317, allocations: 56.7 kB / 0.7318 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/0.4324, allocations: 0.6268 MB / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4324, allocations: 6.438 kB / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4324, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4324, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.4332, allocations: 0.7834 MB / 0.7332 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4332, allocations: 0 / 0.7332 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4333, allocations: 82.34 kB / 0.7333 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.644e-05/0.4334, allocations: 39.89 kB / 0.7333 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4335, allocations: 11.59 kB / 0.7333 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4348, allocations: 3.189 MB / 0.7365 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4348, allocations: 2.562 kB / 0.7365 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.4352, allocations: 404.2 kB / 0.7369 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4353, allocations: 69.08 kB / 0.7369 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4353, allocations: 18.08 kB / 0.7369 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4354, allocations: 2.719 kB / 0.7369 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4355, allocations: 22.59 kB / 0.737 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4355, allocations: 25.78 kB / 0.737 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002815/0.4358, allocations: 353.1 kB / 0.7373 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4358, allocations: 0 / 0.7373 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005486/0.4363, allocations: 167.5 kB / 0.7375 GB, free: 9.188 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000785/0.4371, allocations: 1.123 MB / 0.7386 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.4376, allocations: 326.8 kB / 0.7389 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4377, allocations: 0 / 0.7389 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.4379, allocations: 222.4 kB / 0.7391 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.4385, allocations: 208.8 kB / 0.7393 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.4421, allocations: 3.727 MB / 0.7429 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.4423, allocations: 252.5 kB / 0.7432 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004629/0.4427, allocations: 371.8 kB / 0.7435 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.443, allocations: 245.4 kB / 0.7438 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.443, allocations: 0 / 0.7438 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.4759, allocations: 16.2 MB / 0.7596 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/9.055, allocations: 13.88 kB / 0.7596 GB, free: 9.859 MB / 0.6042 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_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_Inversion1.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.779379293322563] Failed to read output from testmodel.py, exit status != 0: 9.15041073039174 9.160867693 8.737527124 Calling exit ...