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.001078/0.001078, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.001139/0.001139, 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.8623/0.8623, 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.6268/0.6268, allocations: 116 MB / 375.4 MB, free: 4.172 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 1.402e-06/1.402e-06, allocations: 0 / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.183e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.3877/0.3877, allocations: 164.1 MB / 0.7138 GB, free: 12.08 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3905, allocations: 2.334 MB / 0.7161 GB, free: 10.22 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.3909, allocations: 39.84 kB / 0.7161 GB, free: 10.2 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.3916, allocations: 296.2 kB / 0.7164 GB, free: 9.965 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3928, allocations: 0.7065 MB / 0.7171 GB, free: 9.395 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.3946, allocations: 1.023 MB / 0.7181 GB, free: 8.641 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.3954, allocations: 0.9851 MB / 0.719 GB, free: 8.039 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.3955, allocations: 97.92 kB / 0.7191 GB, free: 7.98 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009983/0.3965, allocations: 0.8004 MB / 0.7199 GB, free: 7.477 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3968, allocations: 295 kB / 0.7202 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3968, allocations: 35 kB / 0.7202 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008692/0.3977, allocations: 0.6338 MB / 0.7208 GB, free: 7.047 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.3978, allocations: 99.27 kB / 0.7209 GB, free: 6.965 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3979, allocations: 182.4 kB / 0.7211 GB, free: 6.883 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.399, allocations: 1.078 MB / 0.7222 GB, free: 6.23 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.399, allocations: 0 / 0.7222 GB, free: 6.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.454e-06/0.399, allocations: 6.188 kB / 0.7222 GB, free: 6.227 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.399, allocations: 0 / 0.7222 GB, free: 6.227 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.001131/0.4001, allocations: 0.9009 MB / 0.723 GB, free: 5.512 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4001, allocations: 11.03 kB / 0.7231 GB, free: 5.512 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.4002, allocations: 75.81 kB / 0.7231 GB, free: 5.441 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.4004, allocations: 94.3 kB / 0.7232 GB, free: 5.391 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.401, allocations: 478.5 kB / 0.7237 GB, free: 5.039 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.401, allocations: 32.59 kB / 0.7237 GB, free: 5.023 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.4011, allocations: 38.66 kB / 0.7237 GB, free: 5.012 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.4015, allocations: 445.9 kB / 0.7242 GB, free: 4.715 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4015, allocations: 0 / 0.7242 GB, free: 4.715 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.4015, allocations: 24.94 kB / 0.7242 GB, free: 4.695 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4016, allocations: 10.47 kB / 0.7242 GB, free: 4.695 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.4018, allocations: 258.6 kB / 0.7244 GB, free: 4.578 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.4031, allocations: 1.36 MB / 0.7258 GB, free: 3.512 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.4034, allocations: 178.3 kB / 0.7259 GB, free: 3.418 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.4035, allocations: 63.31 kB / 0.726 GB, free: 3.379 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.4035, allocations: 15.47 kB / 0.726 GB, free: 3.371 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4035, allocations: 33.19 kB / 0.726 GB, free: 3.332 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.4035, allocations: 2.938 kB / 0.7261 GB, free: 3.332 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0005206/0.4041, allocations: 297.5 kB / 0.7263 GB, free: 3.18 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.4041, allocations: 79.86 kB / 0.7264 GB, free: 3.086 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4044, allocations: 495.3 kB / 0.7269 GB, free: 2.785 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4045, allocations: 31.92 kB / 0.7269 GB, free: 2.75 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4046, allocations: 304.5 kB / 0.7272 GB, free: 2.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4046, allocations: 55.45 kB / 0.7273 GB, free: 2.434 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.4047, allocations: 69.33 kB / 0.7273 GB, free: 2.391 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.4048, allocations: 361.2 kB / 0.7277 GB, free: 2.039 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.4049, allocations: 60.25 kB / 0.7277 GB, free: 2.012 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.405, allocations: 115.4 kB / 0.7278 GB, free: 1.918 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.4052, allocations: 187.2 kB / 0.728 GB, free: 1.785 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4052, allocations: 2.5 kB / 0.728 GB, free: 1.785 MB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003373/0.4055, allocations: 305 kB / 0.7283 GB, free: 1.629 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4055, allocations: 5.594 kB / 0.7283 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4055, allocations: 6.688 kB / 0.7283 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.4056, allocations: 42.11 kB / 0.7284 GB, free: 1.602 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.4059, allocations: 101.2 kB / 0.7285 GB, free: 1.578 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.4073, allocations: 3.197 MB / 0.7316 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4074, allocations: 30.89 kB / 0.7316 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4075, allocations: 40.55 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.0001435/0.4076, allocations: 158.5 kB / 0.7318 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.4077, allocations: 52.08 kB / 0.7318 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.4084, allocations: 0.6263 MB / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4084, allocations: 2.875 kB / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4084, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4084, allocations: 0 / 0.7325 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.4091, allocations: 0.7868 MB / 0.7332 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4091, allocations: 6.906 kB / 0.7332 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4093, allocations: 71.8 kB / 0.7333 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.4094, allocations: 35.52 kB / 0.7333 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4094, allocations: 15.86 kB / 0.7334 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.4106, allocations: 3.185 MB / 0.7365 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4106, allocations: 6.812 kB / 0.7365 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.4109, allocations: 400.3 kB / 0.7369 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.411, allocations: 69.92 kB / 0.7369 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.411, allocations: 14.67 kB / 0.7369 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4111, allocations: 10.89 kB / 0.7369 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4112, allocations: 18.45 kB / 0.737 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4112, allocations: 32.02 kB / 0.737 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002424/0.4114, allocations: 349.8 kB / 0.7373 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.4114, allocations: 0 / 0.7373 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004255/0.4119, allocations: 167.1 kB / 0.7375 GB, free: 9.195 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.0007218/0.4126, allocations: 1.123 MB / 0.7386 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.413, allocations: 328.7 kB / 0.7389 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.413, allocations: 0 / 0.7389 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.4132, allocations: 222.9 kB / 0.7391 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.4138, allocations: 213.5 kB / 0.7393 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.4168, allocations: 3.715 MB / 0.7429 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.417, allocations: 250.7 kB / 0.7432 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.4174, allocations: 375.6 kB / 0.7435 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.4176, allocations: 234 kB / 0.7438 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.4176, allocations: 0 / 0.7438 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.4436, allocations: 16.23 MB / 0.7596 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.616, allocations: 6.547 kB / 0.7596 GB, free: 9.871 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Inversion_Inversion1_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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.109283634461462] Failed to read output from testmodel.py, exit status != 0: 8.710483005270362 8.724211151 8.322961373 Calling exit ...