Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 111.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002588/0.002588, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7499/0.7499, allocations: 93.74 MB / 391 MB, free: 4.605 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 87.77 kB / 0.5285 GB, free: 40.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1289, allocations: 68.28 MB / 0.5951 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6027/0.7316, allocations: 258.9 MB / 0.8479 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.7509, allocations: 12.94 MB / 0.8606 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.7525, allocations: 76.12 kB / 0.8607 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.7553, allocations: 0.9895 MB / 0.8616 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.7731, allocations: 5.47 MB / 0.867 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00797/0.7811, allocations: 2.416 MB / 0.8693 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.7848, allocations: 2.052 MB / 0.8713 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.7856, allocations: 405.3 kB / 0.8717 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.7886, allocations: 1.315 MB / 0.873 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.79, allocations: 0.801 MB / 0.8738 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.7902, allocations: 100 kB / 0.8739 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02268/0.8129, allocations: 10.61 MB / 0.8842 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008996/0.8139, allocations: 386.5 kB / 0.8846 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.8152, allocations: 0.7031 MB / 0.8853 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/0.8356, allocations: 6.08 MB / 0.8912 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.8357, allocations: 0 / 0.8912 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8357, allocations: 0 / 0.8912 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.8357, allocations: 0 / 0.8912 GB, free: 2.605 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.007538/0.8433, allocations: 2.835 MB / 0.894 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.8434, allocations: 8.031 kB / 0.894 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.8436, allocations: 160.3 kB / 0.8942 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.844, allocations: 170.9 kB / 0.8943 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.8465, allocations: 1.066 MB / 0.8954 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.8466, allocations: 73.98 kB / 0.8954 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.8468, allocations: 107.9 kB / 0.8955 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.8493, allocations: 1.4 MB / 0.8969 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.8493, allocations: 0 / 0.8969 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.8494, allocations: 43.92 kB / 0.8969 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.8496, allocations: 93.94 kB / 0.897 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.852, allocations: 1.523 MB / 0.8985 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009138/0.8611, allocations: 5.846 MB / 0.9042 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.863, allocations: 0.8649 MB / 0.9051 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.8642, allocations: 0.6805 MB / 0.9057 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.8666, allocations: 2.402 MB / 0.9081 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.8667, allocations: 51.67 kB / 0.9081 GB, free: 88 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 5.039e-06/0.8667, allocations: 4 kB / 0.9081 GB, free: 84 kB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004674/0.8714, allocations: 2.112 MB / 0.9102 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.8715, allocations: 86.23 kB / 0.9103 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.8728, allocations: 0.9159 MB / 0.9112 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.873, allocations: 41.7 kB / 0.9112 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.8735, allocations: 0.5455 MB / 0.9117 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/0.874, allocations: 408.4 kB / 0.9121 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.8743, allocations: 182.6 kB / 0.9123 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8745, allocations: 345.9 kB / 0.9126 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.8753, allocations: 453.8 kB / 0.9131 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/0.8763, allocations: 0.524 MB / 0.9136 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.8782, allocations: 1.047 MB / 0.9146 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8783, allocations: 4 kB / 0.9146 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002932/0.8812, allocations: 1.391 MB / 0.916 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.8813, allocations: 11.94 kB / 0.916 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8813, allocations: 0 / 0.916 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.8818, allocations: 121.6 kB / 0.9161 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.8826, allocations: 187.7 kB / 0.9163 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.8863, allocations: 3.366 MB / 0.9196 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.8871, allocations: 67.41 kB / 0.9196 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.8873, allocations: 63.97 kB / 0.9197 GB, free: 3.832 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006145/0.888, allocations: 277.7 kB / 0.92 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.8884, allocations: 139 kB / 0.9201 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.8925, allocations: 2.052 MB / 0.9221 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.8925, allocations: 8 kB / 0.9221 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8925, allocations: 7.984 kB / 0.9221 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.8926, allocations: 3.984 kB / 0.9221 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.8979, allocations: 3.02 MB / 0.9251 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.898, allocations: 0 / 0.9251 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.8986, allocations: 175.7 kB / 0.9252 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/0.8991, allocations: 125.7 kB / 0.9253 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.8992, allocations: 39.97 kB / 0.9254 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.9026, allocations: 3.357 MB / 0.9287 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.9026, allocations: 4.031 kB / 0.9287 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.9066, allocations: 2.241 MB / 0.9309 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.907, allocations: 215.9 kB / 0.9311 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.9072, allocations: 24 kB / 0.9311 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.9077, allocations: 24.22 kB / 0.9311 GB, free: 7.691 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.9079, allocations: 88.95 kB / 0.9312 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.9081, allocations: 68.03 kB / 0.9313 GB, free: 7.539 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009954/0.9091, allocations: 0.6778 MB / 0.9319 GB, free: 6.855 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9091, allocations: 0 / 0.9319 GB, free: 6.855 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002727/0.9118, allocations: 1.016 MB / 0.9329 GB, free: 5.836 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow) * 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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007675/0.9195, allocations: 4.004 MB / 0.9368 GB, free: 1.793 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.9226, allocations: 1.476 MB / 0.9383 GB, free: 300 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9227, allocations: 0 / 0.9383 GB, free: 300 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.9244, allocations: 0.9372 MB / 0.9392 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.9266, allocations: 428.4 kB / 0.9396 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.9464, allocations: 10.39 MB / 0.9497 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.9475, allocations: 1.195 MB / 0.9509 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001645/0.9492, allocations: 0.6762 MB / 0.9516 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000903/0.9501, allocations: 0.5656 MB / 0.9521 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.9501, allocations: 3.938 kB / 0.9521 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.056, allocations: 49.89 MB / 1.001 GB, free: 260 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.84, allocations: 19.64 kB / 1.001 GB, free: 240 kB / 0.7325 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.394990435102955] Failed to read output from testmodel.py, exit status != 0: 15.954896357143298 15.971156243 15.132623131 Calling exit ...