Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001319/0.001319, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001466/0.001466, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2438/0.2438, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 65.47 MB / 0.5577 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2009/0.5245, allocations: 161.4 MB / 0.7154 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004319/0.5289, allocations: 2.029 MB / 0.7173 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.5295, allocations: 19.81 kB / 0.7174 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.5303, allocations: 294 kB / 0.7176 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.5335, allocations: 1.199 MB / 0.7188 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5354, allocations: 0.6966 MB / 0.7195 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.5374, allocations: 1.504 MB / 0.721 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005833/0.538, allocations: 367.7 kB / 0.7213 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009695/0.539, allocations: 0.5839 MB / 0.7219 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.5396, allocations: 462 kB / 0.7223 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5397, allocations: 48 kB / 0.7224 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.5413, allocations: 0.7097 MB / 0.7231 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.5415, allocations: 155.4 kB / 0.7232 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.5418, allocations: 282.8 kB / 0.7235 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.5436, allocations: 1.195 MB / 0.7246 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5436, allocations: 7.938 kB / 0.7247 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5436, allocations: 4 kB / 0.7247 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.5436, allocations: 0 / 0.7247 GB, free: 11.86 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001838/0.5454, allocations: 0.9247 MB / 0.7256 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5455, allocations: 12.03 kB / 0.7256 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.046e-05/0.5455, allocations: 12.94 kB / 0.7256 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.5456, allocations: 82.53 kB / 0.7257 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5466, allocations: 143.5 kB / 0.7258 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.5474, allocations: 389.8 kB / 0.7262 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.5474, allocations: 29 kB / 0.7262 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.5475, allocations: 43.94 kB / 0.7262 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5489, allocations: 0.8605 MB / 0.7271 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5489, allocations: 0 / 0.7271 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.5489, allocations: 16 kB / 0.7271 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5489, allocations: 12 kB / 0.7271 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009265/0.5499, allocations: 407.6 kB / 0.7275 GB, free: 8.77 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.5529, allocations: 1.88 MB / 0.7293 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.5536, allocations: 274.8 kB / 0.7296 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.5538, allocations: 136.8 kB / 0.7297 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.5541, allocations: 47.91 kB / 0.7298 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5541, allocations: 42.55 kB / 0.7298 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.5541, allocations: 0 / 0.7298 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002486/0.5566, allocations: 0.6306 MB / 0.7304 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.5567, allocations: 136.5 kB / 0.7306 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.5572, allocations: 441.9 kB / 0.731 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.5572, allocations: 33.7 kB / 0.731 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5574, allocations: 280.2 kB / 0.7313 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.5576, allocations: 111 kB / 0.7314 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.5577, allocations: 109.6 kB / 0.7315 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5579, allocations: 358.8 kB / 0.7318 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.5583, allocations: 139.9 kB / 0.732 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.5589, allocations: 356.3 kB / 0.7323 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.5598, allocations: 421.6 kB / 0.7327 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5598, allocations: 4 kB / 0.7327 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001289/0.5611, allocations: 0.5289 MB / 0.7332 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5611, allocations: 4.438 kB / 0.7332 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5611, allocations: 8 kB / 0.7332 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.5633, allocations: 268.5 kB / 0.7335 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.5637, allocations: 107.8 kB / 0.7336 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.5648, allocations: 0.6069 MB / 0.7342 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.5652, allocations: 47.66 kB / 0.7342 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.5653, allocations: 47.98 kB / 0.7343 GB, free: 1.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.5657, allocations: 173.7 kB / 0.7344 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.5658, allocations: 55.67 kB / 0.7345 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.568, allocations: 1.016 MB / 0.7355 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.568, allocations: 4 kB / 0.7355 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.568, allocations: 3.938 kB / 0.7355 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.568, allocations: 0 / 0.7355 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2714/0.8394, allocations: 0.8829 MB / 0.7364 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8394, allocations: 9.844 kB / 0.7364 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.8397, allocations: 55.41 kB / 0.7364 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.8417, allocations: 253 kB / 0.7367 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.8417, allocations: 13.59 kB / 0.7367 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008847/0.8426, allocations: 0.6073 MB / 0.7373 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8426, allocations: 5.625 kB / 0.7373 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8441, allocations: 0.5019 MB / 0.7378 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.8442, allocations: 53.53 kB / 0.7378 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8444, allocations: 12.3 kB / 0.7378 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.8448, allocations: 17.17 kB / 0.7378 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.8449, allocations: 33.48 kB / 0.7379 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.8449, allocations: 19.66 kB / 0.7379 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005798/0.8455, allocations: 390.5 kB / 0.7383 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8455, allocations: 0 / 0.7383 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008976/0.8464, allocations: 227.4 kB / 0.7385 GB, free: 177.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.8483, allocations: 1.228 MB / 0.7397 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.8496, allocations: 355.6 kB / 0.74 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8496, allocations: 11 kB / 0.74 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/0.8503, allocations: 145 kB / 0.7402 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.8517, allocations: 344.8 kB / 0.7405 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.8578, allocations: 4.714 MB / 0.7451 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.8579, allocations: 250.5 kB / 0.7453 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008249/0.8587, allocations: 0.5463 MB / 0.7459 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.8591, allocations: 224.7 kB / 0.7461 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.8591, allocations: 0 / 0.7461 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.8966, allocations: 20.89 MB / 0.7665 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.5, allocations: 4.062 kB / 0.7665 GB, free: 151.1 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.62521214305889] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 15.696312378975563 15.705790582 15.159907661 Calling exit ...