Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00131/0.00131, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00144/0.00144, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 46.95 MB / 361.7 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.91 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3512, allocations: 66.03 MB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2165/0.5677, allocations: 161.4 MB / 0.719 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00465/0.5724, allocations: 2.025 MB / 0.721 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.5731, allocations: 23.81 kB / 0.721 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5742, allocations: 286.1 kB / 0.7213 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.5783, allocations: 1.215 MB / 0.7224 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.5807, allocations: 0.6851 MB / 0.7231 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.5834, allocations: 1.504 MB / 0.7246 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.5842, allocations: 355.8 kB / 0.7249 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.5857, allocations: 0.5955 MB / 0.7255 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009718/0.5867, allocations: 462.1 kB / 0.7259 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.5869, allocations: 44 kB / 0.726 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.5889, allocations: 0.71 MB / 0.7267 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.5892, allocations: 159.4 kB / 0.7268 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006756/0.5898, allocations: 270.9 kB / 0.7271 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.5924, allocations: 1.207 MB / 0.7283 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5924, allocations: 0 / 0.7283 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5924, allocations: 0 / 0.7283 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.5924, allocations: 4 kB / 0.7283 GB, free: 8.652 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.002119/0.5945, allocations: 0.9286 MB / 0.7292 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5946, allocations: 12.03 kB / 0.7292 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.487e-05/0.5946, allocations: 9 kB / 0.7292 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.5947, allocations: 82.47 kB / 0.7293 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5957, allocations: 135.5 kB / 0.7294 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.5967, allocations: 397.7 kB / 0.7298 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.5967, allocations: 37 kB / 0.7298 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.5968, allocations: 39.94 kB / 0.7299 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5982, allocations: 0.8567 MB / 0.7307 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5982, allocations: 3.938 kB / 0.7307 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.5983, allocations: 16 kB / 0.7307 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.5983, allocations: 12 kB / 0.7307 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.5992, allocations: 407.6 kB / 0.7311 GB, free: 5.559 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.002951/0.6021, allocations: 1.883 MB / 0.733 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.6028, allocations: 270.7 kB / 0.7332 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.6031, allocations: 132.9 kB / 0.7333 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.6033, allocations: 47.97 kB / 0.7334 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6034, allocations: 34.56 kB / 0.7334 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.474e-06/0.6034, allocations: 0 / 0.7334 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00272/0.6061, allocations: 0.6384 MB / 0.734 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6062, allocations: 132.5 kB / 0.7342 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.6068, allocations: 445.9 kB / 0.7346 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.6069, allocations: 33.7 kB / 0.7346 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6071, allocations: 276.2 kB / 0.7349 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.6072, allocations: 107 kB / 0.735 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.6074, allocations: 113.6 kB / 0.7351 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.6076, allocations: 358.7 kB / 0.7354 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.608, allocations: 143.9 kB / 0.7356 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.6086, allocations: 352.3 kB / 0.7359 GB, free: 408 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2862/0.8948, allocations: 416.9 kB / 0.7363 GB, free: 176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.8948, allocations: 2.062 kB / 0.7363 GB, free: 176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00177/0.8966, allocations: 0.5312 MB / 0.7368 GB, free: 176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8966, allocations: 8.844 kB / 0.7368 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8966, allocations: 7.062 kB / 0.7368 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.899, allocations: 266.2 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.8995, allocations: 101.7 kB / 0.7372 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009326/0.9005, allocations: 0.6027 MB / 0.7378 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.9009, allocations: 54.44 kB / 0.7378 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.9011, allocations: 48.25 kB / 0.7379 GB, free: 175.4 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.0003067/0.9014, allocations: 184.4 kB / 0.7381 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9015, allocations: 53.59 kB / 0.7381 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.9038, allocations: 1.027 MB / 0.7391 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.9038, allocations: 2.625 kB / 0.7391 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9038, allocations: 1.719 kB / 0.7391 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9038, allocations: 4.969 kB / 0.7391 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.9054, allocations: 0.887 MB / 0.74 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9054, allocations: 3.938 kB / 0.74 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.9057, allocations: 54.77 kB / 0.74 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.9074, allocations: 254.4 kB / 0.7403 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.9075, allocations: 15.06 kB / 0.7403 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000824/0.9083, allocations: 0.6006 MB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9083, allocations: 3.938 kB / 0.7409 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.9095, allocations: 0.5052 MB / 0.7414 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.9097, allocations: 56.38 kB / 0.7414 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.9098, allocations: 11.03 kB / 0.7414 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.9102, allocations: 18.19 kB / 0.7415 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.9102, allocations: 28.98 kB / 0.7415 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.9103, allocations: 18.27 kB / 0.7415 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004152/0.9107, allocations: 390 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9107, allocations: 1.641 kB / 0.7419 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007496/0.9114, allocations: 222.3 kB / 0.7421 GB, free: 173.3 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.001808/0.9132, allocations: 1.234 MB / 0.7433 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.9146, allocations: 361.2 kB / 0.7436 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9146, allocations: 3.125 kB / 0.7437 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.9153, allocations: 158.3 kB / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.917, allocations: 346.5 kB / 0.7441 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/0.9235, allocations: 4.711 MB / 0.7487 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.9237, allocations: 246.3 kB / 0.749 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008913/0.9245, allocations: 0.5464 MB / 0.7495 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.9249, allocations: 219.3 kB / 0.7497 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.9249, allocations: 0 / 0.7497 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.9666, allocations: 20.89 MB / 0.7701 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.68, allocations: 6.875 kB / 0.7701 GB, free: 145.1 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.82808358699549] 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.866688241017982 15.877766213 15.282773529 Calling exit ...