Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 116.2 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002095/0.002095, allocations: 205 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.93 MB / 357.7 MB, free: 10.31 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 75.88 kB / 0.4917 GB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 66.05 MB / 0.5562 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5336/0.6679, allocations: 186.4 MB / 0.7382 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004586/0.6724, allocations: 2.131 MB / 0.7403 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.6731, allocations: 19.81 kB / 0.7403 GB, free: 4.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.6743, allocations: 313.9 kB / 0.7406 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.6784, allocations: 1.189 MB / 0.7417 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.6804, allocations: 0.6672 MB / 0.7424 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.6829, allocations: 1.484 MB / 0.7438 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.6836, allocations: 375.8 kB / 0.7442 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.6848, allocations: 0.58 MB / 0.7448 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.6855, allocations: 474 kB / 0.7452 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6856, allocations: 48 kB / 0.7453 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.6874, allocations: 0.8074 MB / 0.7461 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.6876, allocations: 159.4 kB / 0.7462 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.688, allocations: 318.6 kB / 0.7465 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.6903, allocations: 1.219 MB / 0.7477 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6903, allocations: 0 / 0.7477 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.726e-06/0.6903, allocations: 0 / 0.7477 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.6903, allocations: 0 / 0.7477 GB, free: 12.91 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.002159/0.6924, allocations: 1.016 MB / 0.7487 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.6925, allocations: 8.031 kB / 0.7487 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.6926, allocations: 82.53 kB / 0.7488 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.6937, allocations: 135.5 kB / 0.7489 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.6945, allocations: 468.9 kB / 0.7494 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6946, allocations: 29 kB / 0.7494 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.6946, allocations: 40 kB / 0.7494 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6958, allocations: 0.5554 MB / 0.75 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6958, allocations: 8 kB / 0.75 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.6959, allocations: 20.81 kB / 0.75 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.6959, allocations: 12 kB / 0.75 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.6968, allocations: 407.6 kB / 0.7504 GB, free: 10.02 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.003594/0.7004, allocations: 2.566 MB / 0.7529 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.7011, allocations: 282.6 kB / 0.7532 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.7014, allocations: 145 kB / 0.7533 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.7018, allocations: 348.4 kB / 0.7536 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.7018, allocations: 38.55 kB / 0.7537 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.7018, allocations: 4 kB / 0.7537 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002686/0.7045, allocations: 0.7058 MB / 0.7544 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.7046, allocations: 136.5 kB / 0.7545 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.7052, allocations: 445.9 kB / 0.7549 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.7053, allocations: 29.7 kB / 0.7549 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.7055, allocations: 284.2 kB / 0.7552 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.7057, allocations: 103.1 kB / 0.7553 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.7059, allocations: 105.7 kB / 0.7554 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.7061, allocations: 358.8 kB / 0.7558 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.7065, allocations: 139.9 kB / 0.7559 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.707, allocations: 272.8 kB / 0.7562 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009627/0.708, allocations: 425.5 kB / 0.7566 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.708, allocations: 0 / 0.7566 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001441/0.7094, allocations: 0.5293 MB / 0.7571 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.7094, allocations: 13.62 kB / 0.7571 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7095, allocations: 7.938 kB / 0.7571 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.7117, allocations: 268.4 kB / 0.7574 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.7122, allocations: 99.88 kB / 0.7574 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.7133, allocations: 0.6108 MB / 0.758 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.7138, allocations: 47.72 kB / 0.7581 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.7139, allocations: 47.92 kB / 0.7581 GB, free: 1.543 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.0003745/0.7143, allocations: 177.6 kB / 0.7583 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.7145, allocations: 59.67 kB / 0.7584 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.7167, allocations: 1.024 MB / 0.7594 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.7167, allocations: 4 kB / 0.7594 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7168, allocations: 0 / 0.7594 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7168, allocations: 0 / 0.7594 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.7189, allocations: 0.9674 MB / 0.7603 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7189, allocations: 4 kB / 0.7603 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.7192, allocations: 51.89 kB / 0.7604 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.7211, allocations: 256.6 kB / 0.7606 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.7211, allocations: 15.92 kB / 0.7606 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.7223, allocations: 0.5992 MB / 0.7612 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7223, allocations: 4 kB / 0.7612 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.7238, allocations: 0.5152 MB / 0.7617 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.724, allocations: 136.6 kB / 0.7618 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.7241, allocations: 8.688 kB / 0.7619 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.7245, allocations: 23.91 kB / 0.7619 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.7246, allocations: 23.91 kB / 0.7619 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.7246, allocations: 19.98 kB / 0.7619 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006022/0.7252, allocations: 386.8 kB / 0.7623 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7252, allocations: 4 kB / 0.7623 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008853/0.7261, allocations: 223.6 kB / 0.7625 GB, free: 12.89 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.002361/0.7285, allocations: 1.225 MB / 0.7637 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.73, allocations: 352 kB / 0.764 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.73, allocations: 4 kB / 0.764 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.7307, allocations: 151.8 kB / 0.7642 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.7326, allocations: 351.1 kB / 0.7645 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008685/0.7412, allocations: 4.714 MB / 0.7691 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.7418, allocations: 0.8472 MB / 0.77 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00119/0.743, allocations: 0.5432 MB / 0.7705 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.7434, allocations: 219.3 kB / 0.7707 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.7434, allocations: 4 kB / 0.7707 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.7979, allocations: 19.54 MB / 0.7898 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.55, allocations: 7.922 kB / 0.7898 GB, free: 0.9336 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.664855427108705] 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'] 13.656945853028446 13.681757357 12.986772133 Calling exit ...