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.001733/0.001733, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002134/0.002134, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2168/0.2168, allocations: 44.91 MB / 359.6 MB, free: 6.324 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.003291/0.003291, allocations: 67.89 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3646, allocations: 65.48 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.547/0.9116, allocations: 186.6 MB / 0.7401 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004051/0.9156, allocations: 2.149 MB / 0.7422 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.9163, allocations: 22.03 kB / 0.7422 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009648/0.9173, allocations: 305.1 kB / 0.7425 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.9209, allocations: 1.2 MB / 0.7436 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.9227, allocations: 0.6965 MB / 0.7443 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002053/0.9248, allocations: 1.499 MB / 0.7458 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005412/0.9253, allocations: 356.6 kB / 0.7461 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008867/0.9262, allocations: 0.5884 MB / 0.7467 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.9267, allocations: 462.6 kB / 0.7471 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.9268, allocations: 49.5 kB / 0.7472 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.9285, allocations: 0.8106 MB / 0.748 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.9287, allocations: 159.7 kB / 0.7481 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.929, allocations: 325.4 kB / 0.7484 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.9307, allocations: 1.221 MB / 0.7496 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.9307, allocations: 1.094 kB / 0.7496 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9307, allocations: 0 / 0.7496 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.9307, allocations: 0 / 0.7496 GB, free: 1.633 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.001847/0.9325, allocations: 0.9382 MB / 0.7506 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9326, allocations: 9.531 kB / 0.7506 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.9326, allocations: 11.25 kB / 0.7506 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.733e-05/0.9327, allocations: 81.5 kB / 0.7507 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/0.9337, allocations: 142.8 kB / 0.7508 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.9344, allocations: 408.4 kB / 0.7512 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.9344, allocations: 30.78 kB / 0.7512 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.9345, allocations: 35.66 kB / 0.7512 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.9354, allocations: 0.5515 MB / 0.7518 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.9354, allocations: 6.094 kB / 0.7518 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.9355, allocations: 20.25 kB / 0.7518 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.9355, allocations: 10.25 kB / 0.7518 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.9363, allocations: 410.2 kB / 0.7522 GB, free: 16.73 MB / 0.5762 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.002838/0.9391, allocations: 2.53 MB / 0.7547 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.9397, allocations: 278.1 kB / 0.7549 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.94, allocations: 138.6 kB / 0.7551 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.9402, allocations: 44.78 kB / 0.7551 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.9402, allocations: 37.5 kB / 0.7552 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.9402, allocations: 0.9375 kB / 0.7552 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002407/0.9427, allocations: 0.6303 MB / 0.7558 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.9428, allocations: 132.2 kB / 0.7559 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.9433, allocations: 451.4 kB / 0.7563 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.9434, allocations: 32.3 kB / 0.7564 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.9436, allocations: 272 kB / 0.7566 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/0.9437, allocations: 113.2 kB / 0.7567 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9439, allocations: 107.8 kB / 0.7568 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.9441, allocations: 360.8 kB / 0.7572 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.9444, allocations: 143.1 kB / 0.7573 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.9449, allocations: 278.2 kB / 0.7576 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.9457, allocations: 428.2 kB / 0.758 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9457, allocations: 0 / 0.758 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001142/0.9468, allocations: 0.5248 MB / 0.7585 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.9469, allocations: 8.891 kB / 0.7585 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9469, allocations: 5.25 kB / 0.7585 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.9488, allocations: 266.3 kB / 0.7588 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.9492, allocations: 107.8 kB / 0.7589 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.9502, allocations: 0.6047 MB / 0.7595 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.9506, allocations: 51.8 kB / 0.7595 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.9507, allocations: 46.08 kB / 0.7595 GB, free: 13.08 MB / 0.5762 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.0003238/0.951, allocations: 174.6 kB / 0.7597 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9512, allocations: 56.05 kB / 0.7598 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.9531, allocations: 1.034 MB / 0.7608 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9531, allocations: 4.484 kB / 0.7608 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.9531, allocations: 3.938 kB / 0.7608 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9531, allocations: 3.938 kB / 0.7608 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.9551, allocations: 0.9436 MB / 0.7617 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9551, allocations: 3.219 kB / 0.7617 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.9554, allocations: 53.45 kB / 0.7618 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.9572, allocations: 257.8 kB / 0.762 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.9572, allocations: 13.78 kB / 0.762 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009491/0.9582, allocations: 0.602 MB / 0.7626 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.9582, allocations: 7.25 kB / 0.7626 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.9596, allocations: 0.5068 MB / 0.7631 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.9597, allocations: 53.38 kB / 0.7632 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.9598, allocations: 15.91 kB / 0.7632 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.9603, allocations: 21.56 kB / 0.7632 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.9603, allocations: 20.91 kB / 0.7632 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.9604, allocations: 20.36 kB / 0.7632 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004771/0.9609, allocations: 388.7 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9609, allocations: 2.969 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000864/0.9617, allocations: 222.7 kB / 0.7638 GB, free: 11.56 MB / 0.5762 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.002128/0.9639, allocations: 1.232 MB / 0.765 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.9652, allocations: 353.3 kB / 0.7654 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9652, allocations: 1.031 kB / 0.7654 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.9659, allocations: 154.5 kB / 0.7655 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.9676, allocations: 342.5 kB / 0.7658 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/0.9752, allocations: 4.712 MB / 0.7704 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.9757, allocations: 0.8474 MB / 0.7713 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001065/0.9767, allocations: 0.5529 MB / 0.7718 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.9771, allocations: 222.8 kB / 0.772 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of SimCode: time 9.61e-07/0.9771, allocations: 0 / 0.772 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/1.025, allocations: 19.79 MB / 0.7913 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.49, allocations: 18.48 kB / 0.7914 GB, free: 3.102 MB / 0.5762 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.627529006975237] 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.672336646995973 15.68387555 14.750239679 Calling exit ...