Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002019/0.002019, 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.00209/0.00209, 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.59/1.59, 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.684/0.684, allocations: 100.3 MB / 409.8 MB, free: 5.406 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.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_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.002444/0.002444, allocations: 88.16 kB / 0.5589 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4208, allocations: 74.42 MB / 0.6315 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04202/0.4629, allocations: 37.42 MB / 0.6681 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01928/0.4821, allocations: 15.08 MB / 0.6828 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.4837, allocations: 71.38 kB / 0.6829 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.486, allocations: 0.9522 MB / 0.6838 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.4902, allocations: 1.375 MB / 0.6852 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.4931, allocations: 1.035 MB / 0.6862 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.4964, allocations: 1.949 MB / 0.6881 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.4969, allocations: 223 kB / 0.6883 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.4988, allocations: 1.086 MB / 0.6893 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009148/0.4998, allocations: 0.7113 MB / 0.69 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.4999, allocations: 92 kB / 0.6901 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.5024, allocations: 0.8701 MB / 0.691 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.5028, allocations: 334.4 kB / 0.6913 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.5035, allocations: 0.726 MB / 0.692 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.5072, allocations: 2.128 MB / 0.6941 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5073, allocations: 4 kB / 0.6941 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5073, allocations: 0 / 0.6941 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.5073, allocations: 0 / 0.6941 GB, free: 3.246 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.003679/0.511, allocations: 2.109 MB / 0.6961 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.511, allocations: 8.031 kB / 0.6962 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.511, allocations: 26.19 kB / 0.6962 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5112, allocations: 119.1 kB / 0.6963 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.5115, allocations: 202.7 kB / 0.6965 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.5135, allocations: 1.238 MB / 0.6977 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.5136, allocations: 62 kB / 0.6978 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5137, allocations: 80 kB / 0.6978 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.5152, allocations: 0.8532 MB / 0.6987 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5152, allocations: 7.922 kB / 0.6987 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.5153, allocations: 35.94 kB / 0.6987 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5153, allocations: 20 kB / 0.6987 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.5167, allocations: 0.7926 MB / 0.6995 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.5217, allocations: 3.599 MB / 0.703 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5228, allocations: 0.5758 MB / 0.7036 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.5234, allocations: 298.7 kB / 0.7039 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003952/0.5273, allocations: 3.408 MB / 0.7072 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.5273, allocations: 39.22 kB / 0.7072 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.334e-06/0.5273, allocations: 0 / 0.7072 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002803/0.5302, allocations: 1.246 MB / 0.7084 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5302, allocations: 64 kB / 0.7085 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.5321, allocations: 1.341 MB / 0.7098 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.5321, allocations: 37.7 kB / 0.7098 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.5327, allocations: 0.6362 MB / 0.7105 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.5329, allocations: 265.7 kB / 0.7107 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.5331, allocations: 146.5 kB / 0.7109 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5333, allocations: 334 kB / 0.7112 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.5337, allocations: 209.9 kB / 0.7114 GB, free: 424 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.5343, allocations: 310.2 kB / 0.7117 GB, free: 84 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.5354, allocations: 0.5459 MB / 0.7122 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5354, allocations: 0 / 0.7122 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001793/0.5372, allocations: 0.8297 MB / 0.713 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5372, allocations: 15.88 kB / 0.713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5372, allocations: 0 / 0.713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.5377, allocations: 113.8 kB / 0.7131 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.5383, allocations: 143.8 kB / 0.7133 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.5413, allocations: 3.204 MB / 0.7164 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.542, allocations: 71.44 kB / 0.7165 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/0.5421, allocations: 31.98 kB / 0.7165 GB, free: 10.81 MB / 0.545 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.0006204/0.5427, allocations: 319.2 kB / 0.7168 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.543, allocations: 166.9 kB / 0.717 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.5452, allocations: 1.136 MB / 0.7181 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5452, allocations: 4 kB / 0.7181 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.5452, allocations: 4 kB / 0.7181 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5452, allocations: 3.984 kB / 0.7181 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.5486, allocations: 2.015 MB / 0.7201 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5486, allocations: 4.125 kB / 0.7201 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.5491, allocations: 123.8 kB / 0.7202 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.5495, allocations: 117.5 kB / 0.7203 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.5495, allocations: 23.98 kB / 0.7203 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.5524, allocations: 3.229 MB / 0.7235 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5524, allocations: 4.062 kB / 0.7235 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.5548, allocations: 1.229 MB / 0.7247 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.5553, allocations: 343.7 kB / 0.725 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.5555, allocations: 23.95 kB / 0.725 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.556, allocations: 19.98 kB / 0.725 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5561, allocations: 64.58 kB / 0.7251 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.5562, allocations: 35.92 kB / 0.7251 GB, free: 1.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001398/0.5576, allocations: 0.9545 MB / 0.7261 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5576, allocations: 0 / 0.7261 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001227/0.5588, allocations: 419 kB / 0.7265 GB, free: 168 kB / 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.00459/0.5634, allocations: 2.443 MB / 0.7289 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.5651, allocations: 0.7917 MB / 0.7296 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5651, allocations: 0 / 0.7296 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009304/0.566, allocations: 0.556 MB / 0.7302 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.568, allocations: 407.3 kB / 0.7306 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.5831, allocations: 9.167 MB / 0.7395 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5841, allocations: 1.208 MB / 0.7407 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008858/0.585, allocations: 262.2 kB / 0.7409 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/0.5857, allocations: 0.5618 MB / 0.7415 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.5857, allocations: 0 / 0.7415 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/0.6669, allocations: 34.74 MB / 0.7754 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.57, allocations: 4.062 kB / 0.7754 GB, free: 14.11 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.30552865099162] Failed to read output from testmodel.py, exit status != 0: 13.77940593304811 13.793327582 13.282922574 Calling exit ...