Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.00178/0.00178, allocations: 114.7 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.002142/0.002142, allocations: 210.3 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.643/1.643, 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 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6744/0.6744, allocations: 94.57 MB / 404.1 MB, free: 10.96 MB / 334.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/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.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_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.002805/0.002805, allocations: 84.5 kB / 0.5506 GB, free: 5.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4886, allocations: 73.02 MB / 0.6219 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04362/0.5323, allocations: 37.41 MB / 0.6584 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02083/0.5531, allocations: 15.09 MB / 0.6732 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.5549, allocations: 71.31 kB / 0.6732 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.5576, allocations: 0.9562 MB / 0.6742 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.5622, allocations: 1.383 MB / 0.6755 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.5655, allocations: 1.02 MB / 0.6765 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.5688, allocations: 1.949 MB / 0.6784 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.5693, allocations: 223 kB / 0.6786 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.5714, allocations: 1.09 MB / 0.6797 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.5724, allocations: 0.7074 MB / 0.6804 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.5726, allocations: 92 kB / 0.6805 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.5755, allocations: 0.8779 MB / 0.6813 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.576, allocations: 326.5 kB / 0.6816 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/0.5769, allocations: 0.7299 MB / 0.6823 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00456/0.5815, allocations: 2.128 MB / 0.6844 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5815, allocations: 0 / 0.6844 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5815, allocations: 0 / 0.6844 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.5815, allocations: 0 / 0.6844 GB, free: 11.95 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003936/0.5854, allocations: 2.109 MB / 0.6865 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5855, allocations: 8.031 kB / 0.6865 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.5855, allocations: 22.19 kB / 0.6865 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.5857, allocations: 127.1 kB / 0.6866 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.586, allocations: 202.7 kB / 0.6868 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.5882, allocations: 1.226 MB / 0.688 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.5882, allocations: 62 kB / 0.6881 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5884, allocations: 87.94 kB / 0.6882 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5899, allocations: 0.857 MB / 0.689 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5899, allocations: 0 / 0.689 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.59, allocations: 39.94 kB / 0.689 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.59, allocations: 20 kB / 0.6891 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5914, allocations: 0.7886 MB / 0.6898 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.5965, allocations: 3.615 MB / 0.6934 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5976, allocations: 0.5643 MB / 0.6939 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.5982, allocations: 294.7 kB / 0.6942 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003959/0.6021, allocations: 3.412 MB / 0.6975 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.6022, allocations: 39.22 kB / 0.6976 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.6022, allocations: 0 / 0.6976 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002894/0.6051, allocations: 1.25 MB / 0.6988 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.6051, allocations: 60.06 kB / 0.6988 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.607, allocations: 1.341 MB / 0.7001 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.6071, allocations: 37.7 kB / 0.7002 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.6077, allocations: 0.644 MB / 0.7008 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.6079, allocations: 257.7 kB / 0.7011 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.6081, allocations: 146.5 kB / 0.7012 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6083, allocations: 333.9 kB / 0.7015 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.6087, allocations: 213.9 kB / 0.7017 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.6093, allocations: 306.3 kB / 0.702 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.6104, allocations: 0.5459 MB / 0.7025 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6104, allocations: 0 / 0.7025 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002014/0.6124, allocations: 0.8336 MB / 0.7034 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.6124, allocations: 8 kB / 0.7034 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6124, allocations: 0 / 0.7034 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.613, allocations: 113.8 kB / 0.7035 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.6136, allocations: 139.8 kB / 0.7036 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.617, allocations: 3.204 MB / 0.7067 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.618, allocations: 67.52 kB / 0.7068 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6181, allocations: 35.92 kB / 0.7068 GB, free: 3.523 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.0006899/0.6188, allocations: 321.7 kB / 0.7071 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.6192, allocations: 159 kB / 0.7073 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.6215, allocations: 1.145 MB / 0.7084 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6216, allocations: 8 kB / 0.7084 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6216, allocations: 3.938 kB / 0.7084 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.6216, allocations: 7.969 kB / 0.7084 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.6255, allocations: 2.015 MB / 0.7104 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6255, allocations: 4 kB / 0.7104 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.626, allocations: 123.8 kB / 0.7105 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.6265, allocations: 109.6 kB / 0.7106 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.6265, allocations: 23.98 kB / 0.7106 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.6296, allocations: 3.216 MB / 0.7138 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6296, allocations: 4 kB / 0.7138 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6321, allocations: 1.229 MB / 0.715 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.6328, allocations: 351.7 kB / 0.7153 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.633, allocations: 19.95 kB / 0.7153 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.6334, allocations: 19.98 kB / 0.7154 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6336, allocations: 72.5 kB / 0.7154 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.6337, allocations: 31.98 kB / 0.7155 GB, free: 10.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001417/0.6351, allocations: 0.9545 MB / 0.7164 GB, free: 9.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6351, allocations: 0 / 0.7164 GB, free: 9.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001322/0.6364, allocations: 419 kB / 0.7168 GB, free: 8.863 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.004596/0.641, allocations: 2.445 MB / 0.7192 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.6428, allocations: 0.7955 MB / 0.72 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6428, allocations: 0 / 0.72 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.6438, allocations: 0.5442 MB / 0.7205 GB, free: 5.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.6458, allocations: 416.9 kB / 0.7209 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.6619, allocations: 9.186 MB / 0.7299 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.663, allocations: 1.212 MB / 0.731 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001061/0.6641, allocations: 243.7 kB / 0.7313 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/0.6649, allocations: 0.5578 MB / 0.7318 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.6649, allocations: 4 kB / 0.7318 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/0.7791, allocations: 34.74 MB / 0.7657 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.79, allocations: 15.25 kB / 0.7658 GB, free: 6.793 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.68481750099454] Failed to read output from testmodel.py, exit status != 0: 14.03157171496423 14.059084447 13.472169019 Calling exit ...