Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.00175/0.00175, allocations: 117.1 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.002717/0.002717, allocations: 215 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.664/1.664, allocations: 230.6 MB / 253.5 MB, free: 15.14 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.6607/0.6607, allocations: 100.3 MB / 409.8 MB, free: 5.43 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.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.002474/0.002474, allocations: 83.88 kB / 0.5589 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4347, allocations: 74.41 MB / 0.6316 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.06178/0.4965, allocations: 45.39 MB / 0.6759 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.5155, allocations: 12.46 MB / 0.6881 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.518, allocations: 79.25 kB / 0.6881 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.5213, allocations: 1.158 MB / 0.6893 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006633/0.528, allocations: 2.133 MB / 0.6913 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.532, allocations: 1.179 MB / 0.6925 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005618/0.5376, allocations: 2.844 MB / 0.6953 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.5384, allocations: 287.5 kB / 0.6955 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.5419, allocations: 1.46 MB / 0.697 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.5441, allocations: 1.12 MB / 0.6981 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000413/0.5445, allocations: 136 kB / 0.6982 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.5487, allocations: 1.194 MB / 0.6994 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.5493, allocations: 434.1 kB / 0.6998 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.5507, allocations: 0.9711 MB / 0.7007 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.5574, allocations: 2.926 MB / 0.7036 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5575, allocations: 0 / 0.7036 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.572e-06/0.5575, allocations: 0 / 0.7036 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.151e-05/0.5575, allocations: 3.938 kB / 0.7036 GB, free: 9.531 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.00589/0.5634, allocations: 2.554 MB / 0.7061 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5635, allocations: 16.03 kB / 0.7061 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.239e-05/0.5635, allocations: 34.78 kB / 0.7061 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002857/0.5638, allocations: 190.4 kB / 0.7063 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/0.5644, allocations: 239.4 kB / 0.7065 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.5672, allocations: 1.364 MB / 0.7079 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.5673, allocations: 102.5 kB / 0.708 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.5675, allocations: 132 kB / 0.7081 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.5706, allocations: 1.501 MB / 0.7096 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5706, allocations: 0 / 0.7096 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5708, allocations: 56 kB / 0.7096 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.5708, allocations: 32 kB / 0.7096 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.574, allocations: 1.56 MB / 0.7112 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.5843, allocations: 6.258 MB / 0.7173 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.587, allocations: 1.208 MB / 0.7185 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5883, allocations: 0.6126 MB / 0.7191 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007842/0.5962, allocations: 4.589 MB / 0.7235 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.5978, allocations: 0.677 MB / 0.7242 GB, free: 3.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 1.318e-05/0.5978, allocations: 4 kB / 0.7242 GB, free: 3.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.005754/0.6035, allocations: 2.125 MB / 0.7263 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6036, allocations: 64.72 kB / 0.7263 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.6059, allocations: 1.321 MB / 0.7276 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.6062, allocations: 49.7 kB / 0.7277 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.6071, allocations: 0.7033 MB / 0.7284 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008677/0.6079, allocations: 499.7 kB / 0.7288 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.6085, allocations: 250.8 kB / 0.7291 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002497/0.6088, allocations: 349.9 kB / 0.7294 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6098, allocations: 466.4 kB / 0.7299 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.6112, allocations: 0.624 MB / 0.7305 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.6137, allocations: 1.163 MB / 0.7316 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.6137, allocations: 7.938 kB / 0.7316 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003917/0.6176, allocations: 1.534 MB / 0.7331 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.6177, allocations: 34.03 kB / 0.7331 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6177, allocations: 8 kB / 0.7331 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.6182, allocations: 113.5 kB / 0.7333 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.6194, allocations: 271.7 kB / 0.7335 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.6229, allocations: 3.227 MB / 0.7367 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6242, allocations: 127.2 kB / 0.7368 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.6245, allocations: 59.92 kB / 0.7368 GB, free: 5.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.6255, allocations: 381.5 kB / 0.7372 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/0.6261, allocations: 186.8 kB / 0.7374 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.6315, allocations: 2.287 MB / 0.7396 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.6315, allocations: 19.94 kB / 0.7396 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6315, allocations: 4 kB / 0.7396 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.6315, allocations: 7.969 kB / 0.7396 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/0.6401, allocations: 3.457 MB / 0.743 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6402, allocations: 4 kB / 0.743 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6413, allocations: 283.7 kB / 0.7433 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.6417, allocations: 117.7 kB / 0.7434 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/0.6419, allocations: 47.97 kB / 0.7435 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.6454, allocations: 3.225 MB / 0.7466 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6454, allocations: 3.938 kB / 0.7466 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.651, allocations: 2.394 MB / 0.7489 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.6525, allocations: 483.1 kB / 0.7494 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.6529, allocations: 43.89 kB / 0.7494 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/0.6538, allocations: 43.97 kB / 0.7495 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.6541, allocations: 121.1 kB / 0.7496 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.6543, allocations: 59.97 kB / 0.7497 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001787/0.6561, allocations: 0.9274 MB / 0.7506 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6561, allocations: 4.062 kB / 0.7506 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002469/0.6585, allocations: 0.5964 MB / 0.7512 GB, free: 6.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,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.008013/0.6666, allocations: 3.686 MB / 0.7548 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003686/0.6702, allocations: 1.499 MB / 0.7562 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6702, allocations: 0 / 0.7562 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.6724, allocations: 0.9427 MB / 0.7571 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.6753, allocations: 498.5 kB / 0.7576 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/0.6984, allocations: 11.84 MB / 0.7692 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.6997, allocations: 1.353 MB / 0.7705 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001444/0.7011, allocations: 395.7 kB / 0.7709 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.7024, allocations: 0.7687 MB / 0.7716 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/0.7024, allocations: 0 / 0.7716 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/0.8083, allocations: 45.11 MB / 0.8157 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.08, allocations: 10.41 kB / 0.8157 GB, free: 4.426 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.85024280496873] Failed to read output from testmodel.py, exit status != 0: 15.299974550958723 15.315611271 14.754784069 Calling exit ...