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.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.002049/0.002049, allocations: 110.6 kB / 16.46 MB, free: 6.504 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.001919/0.001919, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.762/1.762, allocations: 225.6 MB / 247.8 MB, free: 13.92 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 1.15/1.15, allocations: 94.6 MB / 397.3 MB, free: 264 kB / 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.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: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 87.47 kB / 0.5416 GB, free: 42.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2681, allocations: 71.85 MB / 0.6118 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 1.081/1.349, allocations: 162.4 MB / 0.7704 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02242/1.371, allocations: 12.71 MB / 0.7828 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/1.374, allocations: 33.78 kB / 0.7828 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002841/1.377, allocations: 0.6705 MB / 0.7835 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005426/1.382, allocations: 1.185 MB / 0.7846 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/1.387, allocations: 0.8956 MB / 0.7855 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003728/1.39, allocations: 1.909 MB / 0.7874 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/1.391, allocations: 253.6 kB / 0.7876 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/1.393, allocations: 0.8733 MB / 0.7885 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.395, allocations: 1.101 MB / 0.7896 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/1.395, allocations: 127.3 kB / 0.7897 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/1.401, allocations: 1.556 MB / 0.7912 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/1.401, allocations: 381.3 kB / 0.7916 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/1.402, allocations: 0.7206 MB / 0.7923 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005384/1.407, allocations: 2.193 MB / 0.7944 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.407, allocations: 0 / 0.7944 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.64e-06/1.407, allocations: 0 / 0.7944 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.29e-05/1.407, allocations: 4.844 kB / 0.7944 GB, free: 1.16 MB / 0.5762 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.00593/1.413, allocations: 2.069 MB / 0.7964 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.582e-05/1.413, allocations: 8.469 kB / 0.7964 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/1.414, allocations: 143.9 kB / 0.7966 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/1.414, allocations: 162 kB / 0.7967 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/1.416, allocations: 0.9785 MB / 0.7977 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/1.416, allocations: 103.1 kB / 0.7978 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.417, allocations: 99.25 kB / 0.7979 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/1.419, allocations: 1.468 MB / 0.7993 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.419, allocations: 0.9375 kB / 0.7993 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/1.42, allocations: 34.88 kB / 0.7993 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.851e-05/1.42, allocations: 58.48 kB / 0.7994 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/1.423, allocations: 2.047 MB / 0.8014 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/1.434, allocations: 5.216 MB / 0.8065 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/1.437, allocations: 1.235 MB / 0.8077 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.438, allocations: 0.8132 MB / 0.8085 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008316/1.447, allocations: 4.704 MB / 0.8131 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/1.447, allocations: 47.5 kB / 0.8131 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 4.138e-06/1.447, allocations: 0 / 0.8131 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01201/1.459, allocations: 5.282 MB / 0.8183 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.459, allocations: 66.53 kB / 0.8184 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.461, allocations: 0.9137 MB / 0.8192 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/1.461, allocations: 48.2 kB / 0.8193 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/1.461, allocations: 466.5 kB / 0.8197 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/1.462, allocations: 443.9 kB / 0.8202 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/1.462, allocations: 241.4 kB / 0.8204 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003188/1.463, allocations: 350.3 kB / 0.8207 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.464, allocations: 0.6319 MB / 0.8213 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.466, allocations: 0.7589 MB / 0.8221 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/1.468, allocations: 1.471 MB / 0.8235 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.468, allocations: 0 / 0.8235 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004603/1.473, allocations: 1.97 MB / 0.8254 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/1.473, allocations: 6.219 kB / 0.8255 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/1.473, allocations: 6.203 kB / 0.8255 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/1.474, allocations: 346.7 kB / 0.8258 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.476, allocations: 238.4 kB / 0.826 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007461/1.483, allocations: 3.89 MB / 0.8298 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.484, allocations: 32.95 kB / 0.8298 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.484, allocations: 60.72 kB / 0.8299 GB, free: 13.45 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.001002/1.485, allocations: 328.6 kB / 0.8302 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/1.486, allocations: 131.2 kB / 0.8303 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/1.492, allocations: 2.75 MB / 0.833 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.492, allocations: 9.75 kB / 0.833 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.492, allocations: 4 kB / 0.833 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.492, allocations: 9.109 kB / 0.8331 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008337/1.5, allocations: 3.41 MB / 0.8364 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.5, allocations: 4.875 kB / 0.8364 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.502, allocations: 169.2 kB / 0.8365 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/1.503, allocations: 406.6 kB / 0.8369 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.503, allocations: 47.92 kB / 0.837 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/1.51, allocations: 3.885 MB / 0.8408 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.51, allocations: 0.9375 kB / 0.8408 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/1.517, allocations: 2.801 MB / 0.8435 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.518, allocations: 352.1 kB / 0.8438 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/1.519, allocations: 24 kB / 0.8439 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.52, allocations: 28.89 kB / 0.8439 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/1.52, allocations: 103.5 kB / 0.844 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.52, allocations: 48.81 kB / 0.844 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00203/1.522, allocations: 0.7001 MB / 0.8447 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/1.522, allocations: 0.9375 kB / 0.8447 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002864/1.525, allocations: 487.4 kB / 0.8452 GB, free: 13.66 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.009928/1.535, allocations: 3.968 MB / 0.8491 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004946/1.54, allocations: 1.821 MB / 0.8508 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.54, allocations: 0 / 0.8508 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/1.543, allocations: 1.145 MB / 0.852 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/1.546, allocations: 421.5 kB / 0.8524 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/1.575, allocations: 12.04 MB / 0.8641 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.577, allocations: 1.184 MB / 0.8653 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001571/1.578, allocations: 331.8 kB / 0.8656 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008948/1.579, allocations: 487.2 kB / 0.8661 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of SimCode: time 2.525e-06/1.579, allocations: 4 kB / 0.8661 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.697, allocations: 38.26 MB / 0.9034 GB, free: 2.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.06/21.76, allocations: 7.922 kB / 0.9034 GB, free: 2.312 MB / 0.67 GB " [Timeout remaining time 638] (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: 26.876049323938787] Failed to read output from testmodel.py, exit status != 0: 21.92488308995962 21.943412235 20.532092628 Calling exit ...