Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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.001843/0.001843, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002029/0.002029, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.927/1.927, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 1.203/1.203, allocations: 100.3 MB / 412.7 MB, free: 3.672 MB / 318.1 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.2.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.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 83.75 kB / 0.5632 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2713, allocations: 74.47 MB / 0.636 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 1.085/1.356, allocations: 162.9 MB / 0.795 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02476/1.381, allocations: 12.94 MB / 0.8076 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/1.383, allocations: 50.69 kB / 0.8077 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002937/1.386, allocations: 0.6706 MB / 0.8084 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/1.391, allocations: 1.224 MB / 0.8095 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004533/1.395, allocations: 0.9187 MB / 0.8104 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003617/1.399, allocations: 1.949 MB / 0.8123 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/1.399, allocations: 213.2 kB / 0.8126 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/1.401, allocations: 0.9023 MB / 0.8134 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.404, allocations: 1.108 MB / 0.8145 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/1.404, allocations: 131 kB / 0.8146 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/1.41, allocations: 1.567 MB / 0.8162 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007346/1.41, allocations: 393.3 kB / 0.8165 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009232/1.411, allocations: 0.7155 MB / 0.8172 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/1.417, allocations: 2.204 MB / 0.8194 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.417, allocations: 0 / 0.8194 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.986e-06/1.417, allocations: 0 / 0.8194 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.679e-05/1.417, allocations: 4 kB / 0.8194 GB, free: 9.727 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.006535/1.423, allocations: 2.005 MB / 0.8214 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/1.423, allocations: 9.781 kB / 0.8214 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/1.423, allocations: 141.5 kB / 0.8215 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/1.424, allocations: 158.5 kB / 0.8217 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/1.426, allocations: 0.9032 MB / 0.8225 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.426, allocations: 125.7 kB / 0.8227 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.427, allocations: 97.23 kB / 0.8227 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/1.43, allocations: 1.491 MB / 0.8242 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.43, allocations: 3.938 kB / 0.8242 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/1.43, allocations: 33.47 kB / 0.8242 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.775e-05/1.43, allocations: 54.83 kB / 0.8243 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/1.434, allocations: 2.082 MB / 0.8263 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/1.445, allocations: 5.125 MB / 0.8313 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/1.448, allocations: 1.246 MB / 0.8325 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/1.45, allocations: 0.8198 MB / 0.8333 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00628/1.456, allocations: 2.437 MB / 0.8357 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/1.456, allocations: 47.88 kB / 0.8358 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=119): time 3.476e-06/1.456, allocations: 0 / 0.8358 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121): time 0.01201/1.468, allocations: 4.722 MB / 0.8404 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/1.468, allocations: 66.47 kB / 0.8404 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.47, allocations: 0.924 MB / 0.8413 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.47, allocations: 46.45 kB / 0.8414 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/1.471, allocations: 471.9 kB / 0.8418 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/1.471, allocations: 445.4 kB / 0.8423 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004558/1.471, allocations: 237.6 kB / 0.8425 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004524/1.472, allocations: 356 kB / 0.8428 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.473, allocations: 0.6367 MB / 0.8435 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.475, allocations: 0.7681 MB / 0.8442 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/1.478, allocations: 1.48 MB / 0.8457 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.478, allocations: 8.797 kB / 0.8457 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004474/1.482, allocations: 1.984 MB / 0.8476 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/1.482, allocations: 4 kB / 0.8476 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.482, allocations: 4 kB / 0.8476 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/1.483, allocations: 348.6 kB / 0.8479 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.485, allocations: 231.6 kB / 0.8482 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/1.492, allocations: 3.797 MB / 0.8519 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/1.492, allocations: 31.98 kB / 0.8519 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.493, allocations: 59.94 kB / 0.852 GB, free: 1.137 MB / 0.6075 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.494, allocations: 325.6 kB / 0.8523 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.494, allocations: 131.2 kB / 0.8524 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/1.499, allocations: 2.77 MB / 0.8551 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.5, allocations: 12 kB / 0.8551 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.5, allocations: 4 kB / 0.8551 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.5, allocations: 3.984 kB / 0.8551 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/1.507, allocations: 3.396 MB / 0.8584 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.507, allocations: 3.984 kB / 0.8584 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/1.508, allocations: 179.7 kB / 0.8586 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/1.509, allocations: 396.9 kB / 0.859 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/1.509, allocations: 47.92 kB / 0.859 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/1.515, allocations: 3.792 MB / 0.8627 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.515, allocations: 3.938 kB / 0.8627 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/1.521, allocations: 2.816 MB / 0.8655 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/1.522, allocations: 277.2 kB / 0.8658 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/1.522, allocations: 24.77 kB / 0.8658 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/1.523, allocations: 35.98 kB / 0.8658 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/1.523, allocations: 96.72 kB / 0.8659 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.523, allocations: 55.88 kB / 0.866 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00115/1.525, allocations: 0.7041 MB / 0.8666 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.525, allocations: 0 / 0.8666 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002017/1.527, allocations: 491.4 kB / 0.8671 GB, free: 1.363 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008522/1.535, allocations: 3.999 MB / 0.871 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004399/1.54, allocations: 1.839 MB / 0.8728 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.54, allocations: 0 / 0.8728 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.542, allocations: 1.149 MB / 0.8739 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.545, allocations: 437.5 kB / 0.8744 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.569, allocations: 12.1 MB / 0.8862 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.571, allocations: 1.172 MB / 0.8873 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001551/1.572, allocations: 356.3 kB / 0.8877 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/1.573, allocations: 483.2 kB / 0.8881 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.116e-06/1.573, allocations: 0 / 0.8881 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/1.694, allocations: 39.19 MB / 0.9264 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.96/23.65, allocations: 10.72 kB / 0.9264 GB, free: 4.746 MB / 0.6856 GB " [Timeout remaining time 636] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 28.93810485303402] Failed to read output from testmodel.py, exit status != 0: 23.83891187189147 23.858498013 22.437530865 Calling exit ...