Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001361/0.001361, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00139/0.00139, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 0.681/0.681, allocations: 100.3 MB / 409.8 MB, free: 5.477 MB / 334.1 MB " [Timeout remaining time 179] 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.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="cs",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.002484/0.002484, allocations: 79.88 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4816, allocations: 74.42 MB / 0.6316 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06156/0.5432, allocations: 53.77 MB / 0.6841 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.5714, allocations: 21.65 MB / 0.7052 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.574, allocations: 99.06 kB / 0.7053 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.5772, allocations: 0.9002 MB / 0.7062 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/0.5833, allocations: 1.728 MB / 0.7079 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.5878, allocations: 1.339 MB / 0.7092 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005636/0.5934, allocations: 2.583 MB / 0.7117 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.5945, allocations: 318.1 kB / 0.712 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.5974, allocations: 1.105 MB / 0.7131 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.599, allocations: 0.9561 MB / 0.714 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.5993, allocations: 128 kB / 0.7141 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.6039, allocations: 1.272 MB / 0.7154 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.6043, allocations: 346.3 kB / 0.7157 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.6054, allocations: 0.8972 MB / 0.7166 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005476/0.6109, allocations: 2.692 MB / 0.7192 GB, free: 9.418 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6109, allocations: 0 / 0.7192 GB, free: 9.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6109, allocations: 7.875 kB / 0.7192 GB, free: 9.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.6109, allocations: 4 kB / 0.7192 GB, free: 9.406 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004233/0.6151, allocations: 2.421 MB / 0.7216 GB, free: 6.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6152, allocations: 8.031 kB / 0.7216 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.944e-05/0.6152, allocations: 34.27 kB / 0.7216 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/0.6154, allocations: 173.2 kB / 0.7218 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.6158, allocations: 226.5 kB / 0.722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.6181, allocations: 1.298 MB / 0.7233 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.6182, allocations: 86.28 kB / 0.7234 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.6183, allocations: 120 kB / 0.7235 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.6204, allocations: 1.21 MB / 0.7247 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.6205, allocations: 0 / 0.7247 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/0.6206, allocations: 48 kB / 0.7247 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.6206, allocations: 28 kB / 0.7247 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.6225, allocations: 1.133 MB / 0.7258 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00697/0.6294, allocations: 5.013 MB / 0.7307 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.631, allocations: 0.8279 MB / 0.7315 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.6317, allocations: 426.3 kB / 0.7319 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006551/0.6383, allocations: 5.158 MB / 0.737 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.6383, allocations: 47.5 kB / 0.737 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.725e-06/0.6383, allocations: 0 / 0.737 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.00407/0.6424, allocations: 1.715 MB / 0.7387 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.6425, allocations: 60.41 kB / 0.7388 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.6445, allocations: 1.291 MB / 0.74 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/0.6446, allocations: 45.7 kB / 0.7401 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/0.6453, allocations: 0.7661 MB / 0.7408 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.6456, allocations: 368.8 kB / 0.7412 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.6459, allocations: 170.6 kB / 0.7413 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.646, allocations: 345.9 kB / 0.7417 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.6466, allocations: 297.9 kB / 0.7419 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/0.6474, allocations: 441.9 kB / 0.7424 GB, free: 52 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.6489, allocations: 0.7621 MB / 0.7431 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6489, allocations: 7.938 kB / 0.7431 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00262/0.6515, allocations: 1.151 MB / 0.7442 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.6516, allocations: 10.19 kB / 0.7442 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6516, allocations: 4 kB / 0.7443 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/0.6523, allocations: 166.7 kB / 0.7444 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.653, allocations: 191.8 kB / 0.7446 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.6575, allocations: 4.814 MB / 0.7493 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.6586, allocations: 91.38 kB / 0.7494 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.6587, allocations: 43.98 kB / 0.7494 GB, free: 8.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005975/0.6593, allocations: 279.2 kB / 0.7497 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.6596, allocations: 170.9 kB / 0.7499 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.6626, allocations: 1.645 MB / 0.7515 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.6626, allocations: 8 kB / 0.7515 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6626, allocations: 4.188 kB / 0.7515 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.6626, allocations: 11.91 kB / 0.7515 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/0.6672, allocations: 2.629 MB / 0.754 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6672, allocations: 0 / 0.754 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.6678, allocations: 175.7 kB / 0.7542 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.6684, allocations: 162.6 kB / 0.7544 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.6684, allocations: 35.97 kB / 0.7544 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/0.6729, allocations: 4.827 MB / 0.7591 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6729, allocations: 0 / 0.7591 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.6764, allocations: 1.627 MB / 0.7607 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.6772, allocations: 347.7 kB / 0.761 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.6774, allocations: 31.89 kB / 0.7611 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.678, allocations: 27.92 kB / 0.7611 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.6781, allocations: 80.89 kB / 0.7612 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.6782, allocations: 47.91 kB / 0.7612 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001465/0.6797, allocations: 0.9054 MB / 0.7621 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6797, allocations: 4 kB / 0.7621 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001823/0.6815, allocations: 0.5923 MB / 0.7627 GB, free: 10.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004439/0.686, allocations: 2.796 MB / 0.7654 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6884, allocations: 1.149 MB / 0.7665 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6884, allocations: 0 / 0.7665 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.6897, allocations: 0.7914 MB / 0.7673 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.6923, allocations: 0.5246 MB / 0.7678 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.7123, allocations: 10.72 MB / 0.7783 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.7135, allocations: 1.265 MB / 0.7795 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001312/0.7148, allocations: 297.1 kB / 0.7798 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.7158, allocations: 0.7062 MB / 0.7805 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/0.7158, allocations: 0 / 0.7805 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.8233, allocations: 45.8 MB / 0.8252 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.34, allocations: 11.16 kB / 0.8252 GB, free: 9.973 MB / 0.6544 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.350343002995942] Failed to read output from testmodel.py, exit status != 0: 14.523551324033178 14.818161394 14.204062115 Calling exit ...