Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.001908/0.001908, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002359/0.002359, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.558/1.558, 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.6938/0.6938, allocations: 100.3 MB / 409.8 MB, free: 5.434 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.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",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.00253/0.00253, allocations: 83.88 kB / 0.5589 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4376, allocations: 74.41 MB / 0.6315 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2184/0.656, allocations: 165.1 MB / 0.7928 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.6747, allocations: 12.98 MB / 0.8055 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.6762, allocations: 55.5 kB / 0.8055 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.6783, allocations: 0.5862 MB / 0.8061 GB, free: 168 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.6818, allocations: 0.893 MB / 0.807 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.6846, allocations: 0.8136 MB / 0.8078 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.6871, allocations: 1.368 MB / 0.8091 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006474/0.6878, allocations: 207 kB / 0.8093 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.6893, allocations: 0.5796 MB / 0.8099 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.6907, allocations: 0.6807 MB / 0.8105 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.6909, allocations: 76 kB / 0.8106 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.6946, allocations: 1.415 MB / 0.812 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.6949, allocations: 191.1 kB / 0.8122 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.6957, allocations: 0.5206 MB / 0.8127 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.6996, allocations: 1.586 MB / 0.8142 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6996, allocations: 0 / 0.8142 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6996, allocations: 0 / 0.8142 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.981e-05/0.6997, allocations: 0 / 0.8142 GB, free: 7.789 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003126/0.7028, allocations: 1.463 MB / 0.8156 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.7028, allocations: 12.03 kB / 0.8157 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.914e-05/0.7029, allocations: 18.19 kB / 0.8157 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.703, allocations: 110.7 kB / 0.8158 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.7033, allocations: 128.1 kB / 0.8159 GB, free: 6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.7046, allocations: 0.8034 MB / 0.8167 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.7046, allocations: 54 kB / 0.8167 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.7047, allocations: 64 kB / 0.8168 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.7061, allocations: 0.7353 MB / 0.8175 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7061, allocations: 0 / 0.8175 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.7061, allocations: 32 kB / 0.8175 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.7062, allocations: 19.94 kB / 0.8176 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7073, allocations: 0.6363 MB / 0.8182 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.7115, allocations: 3.109 MB / 0.8212 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.7128, allocations: 0.531 MB / 0.8217 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.7133, allocations: 235.9 kB / 0.822 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/0.7163, allocations: 2.584 MB / 0.8245 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7163, allocations: 35.12 kB / 0.8245 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=55): time 2.034e-06/0.7163, allocations: 0 / 0.8245 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56): time 0.004059/0.7204, allocations: 1.791 MB / 0.8263 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.7205, allocations: 63.95 kB / 0.8263 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7216, allocations: 0.6967 MB / 0.827 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.7216, allocations: 37.7 kB / 0.827 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.722, allocations: 444.8 kB / 0.8275 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.7222, allocations: 202.2 kB / 0.8277 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.7223, allocations: 90.25 kB / 0.8278 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7225, allocations: 326 kB / 0.8281 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.7229, allocations: 165 kB / 0.8282 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.7233, allocations: 235.2 kB / 0.8284 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.7241, allocations: 439.6 kB / 0.8289 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7241, allocations: 0 / 0.8289 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00131/0.7254, allocations: 0.6397 MB / 0.8295 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7254, allocations: 8 kB / 0.8295 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7254, allocations: 0 / 0.8295 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.7259, allocations: 112.9 kB / 0.8296 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.7263, allocations: 103.8 kB / 0.8297 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.7288, allocations: 2.04 MB / 0.8317 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.7291, allocations: 24.08 kB / 0.8317 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.7292, allocations: 24 kB / 0.8317 GB, free: 4.652 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003275/0.7295, allocations: 209.7 kB / 0.8319 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.7297, allocations: 95.38 kB / 0.832 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.7315, allocations: 0.8603 MB / 0.8329 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7315, allocations: 8 kB / 0.8329 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7315, allocations: 7.938 kB / 0.8329 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.7315, allocations: 4.094 kB / 0.8329 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.7343, allocations: 1.539 MB / 0.8344 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7343, allocations: 0 / 0.8344 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.7347, allocations: 91.89 kB / 0.8345 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.7351, allocations: 120.8 kB / 0.8346 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.7352, allocations: 20 kB / 0.8346 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3142/1.049, allocations: 2.029 MB / 0.8366 GB, free: 202 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.049, allocations: 1.219 kB / 0.8366 GB, free: 202 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/1.051, allocations: 0.9846 MB / 0.8376 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/1.052, allocations: 160.8 kB / 0.8377 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/1.052, allocations: 15.36 kB / 0.8377 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/1.052, allocations: 16.88 kB / 0.8377 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.052, allocations: 57.33 kB / 0.8378 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.052, allocations: 19.92 kB / 0.8378 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007636/1.053, allocations: 0.5077 MB / 0.8383 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 0.8383 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001055/1.054, allocations: 328.4 kB / 0.8386 GB, free: 201.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002386/1.056, allocations: 1.906 MB / 0.8405 GB, free: 200.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.057, allocations: 0.5932 MB / 0.8411 GB, free: 200.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.057, allocations: 0 / 0.8411 GB, free: 200.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006644/1.058, allocations: 412.1 kB / 0.8415 GB, free: 200 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.059, allocations: 280.4 kB / 0.8417 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/1.066, allocations: 6.325 MB / 0.8479 GB, free: 196.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.067, allocations: 1.004 MB / 0.8489 GB, free: 195.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003913/1.067, allocations: 152.2 kB / 0.849 GB, free: 195.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/1.067, allocations: 373.8 kB / 0.8494 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of SimCode: time 7.32e-07/1.067, allocations: 3.828 kB / 0.8494 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/1.111, allocations: 25.96 MB / 0.8747 GB, free: 169.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.3, allocations: 9.484 kB / 0.8748 GB, free: 169.8 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.99862413300434] Failed to read output from testmodel.py, exit status != 0: 13.450838395976461 13.460014808 12.757982352 Calling exit ...