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.001818/0.001818, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002255/0.002255, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.242/0.242, allocations: 46.93 MB / 361.6 MB, free: 4.16 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: 79.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3625, allocations: 66.08 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.547/0.9095, allocations: 186.6 MB / 0.7438 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004162/0.9137, allocations: 2.148 MB / 0.7459 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.9145, allocations: 21.72 kB / 0.7459 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.9155, allocations: 305 kB / 0.7462 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.9195, allocations: 1.206 MB / 0.7474 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.9216, allocations: 0.6942 MB / 0.748 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.924, allocations: 1.501 MB / 0.7495 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.9248, allocations: 352.6 kB / 0.7498 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.9261, allocations: 0.5858 MB / 0.7504 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009395/0.927, allocations: 465.8 kB / 0.7509 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.9271, allocations: 48.31 kB / 0.7509 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.9293, allocations: 0.8119 MB / 0.7517 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.9296, allocations: 154.9 kB / 0.7519 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.9302, allocations: 330 kB / 0.7522 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.9332, allocations: 1.22 MB / 0.7534 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.9332, allocations: 0 / 0.7534 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9332, allocations: 0 / 0.7534 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.9332, allocations: 0.875 kB / 0.7534 GB, free: 1.594 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.002473/0.9357, allocations: 0.9354 MB / 0.7543 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9358, allocations: 8.312 kB / 0.7543 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.9359, allocations: 86.5 kB / 0.7544 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.937, allocations: 136.7 kB / 0.7545 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.938, allocations: 406 kB / 0.7549 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.938, allocations: 29.69 kB / 0.7549 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.9381, allocations: 40.62 kB / 0.7549 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.9392, allocations: 0.554 MB / 0.7555 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.9392, allocations: 2 kB / 0.7555 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.9393, allocations: 22.34 kB / 0.7555 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9393, allocations: 9.25 kB / 0.7555 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.9401, allocations: 409.5 kB / 0.7559 GB, free: 16.68 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.003363/0.9435, allocations: 2.533 MB / 0.7584 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.9442, allocations: 277 kB / 0.7586 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.9444, allocations: 139.1 kB / 0.7588 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.9447, allocations: 52.84 kB / 0.7588 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.9447, allocations: 34.06 kB / 0.7589 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.9447, allocations: 0.9062 kB / 0.7589 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.00243/0.9471, allocations: 0.6248 MB / 0.7595 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.9472, allocations: 134.9 kB / 0.7596 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.9478, allocations: 453.5 kB / 0.76 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.9479, allocations: 32.92 kB / 0.7601 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.9481, allocations: 276.3 kB / 0.7603 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.9482, allocations: 106.5 kB / 0.7604 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.9483, allocations: 109.4 kB / 0.7605 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.9485, allocations: 361.7 kB / 0.7609 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.9489, allocations: 144 kB / 0.761 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.9493, allocations: 271.5 kB / 0.7613 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.9501, allocations: 426.6 kB / 0.7617 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9501, allocations: 0.8125 kB / 0.7617 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001268/0.9514, allocations: 0.5269 MB / 0.7622 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9514, allocations: 7.719 kB / 0.7622 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9514, allocations: 4.281 kB / 0.7622 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.9535, allocations: 269.9 kB / 0.7625 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.954, allocations: 103.8 kB / 0.7626 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.955, allocations: 0.6077 MB / 0.7632 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.9555, allocations: 47.58 kB / 0.7632 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.9557, allocations: 50.84 kB / 0.7633 GB, free: 13.04 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.0003535/0.956, allocations: 175.2 kB / 0.7634 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.9562, allocations: 57.22 kB / 0.7635 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.9582, allocations: 1.031 MB / 0.7645 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.9582, allocations: 2.844 kB / 0.7645 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9582, allocations: 0 / 0.7645 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.9582, allocations: 7.297 kB / 0.7645 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.9601, allocations: 0.9409 MB / 0.7654 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9601, allocations: 0.9375 kB / 0.7654 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.9604, allocations: 53.84 kB / 0.7655 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.9621, allocations: 268.9 kB / 0.7657 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.9622, allocations: 10.86 kB / 0.7657 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.9632, allocations: 0.5962 MB / 0.7663 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.9632, allocations: 9.25 kB / 0.7663 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.9646, allocations: 0.5069 MB / 0.7668 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.9648, allocations: 60.84 kB / 0.7669 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.9649, allocations: 11.41 kB / 0.7669 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.9653, allocations: 16.33 kB / 0.7669 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.9654, allocations: 26.31 kB / 0.7669 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.9654, allocations: 21.75 kB / 0.7669 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004893/0.9659, allocations: 384.3 kB / 0.7673 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9659, allocations: 0.875 kB / 0.7673 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008953/0.9668, allocations: 222.7 kB / 0.7675 GB, free: 11.52 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.002274/0.9691, allocations: 1.225 MB / 0.7687 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.9706, allocations: 351.7 kB / 0.7691 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.9706, allocations: 0.875 kB / 0.7691 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.9713, allocations: 159.3 kB / 0.7692 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.9731, allocations: 347.4 kB / 0.7695 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00815/0.9813, allocations: 4.723 MB / 0.7742 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.9818, allocations: 0.8446 MB / 0.775 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001228/0.983, allocations: 0.5467 MB / 0.7755 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.9834, allocations: 230.3 kB / 0.7757 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.9835, allocations: 0 / 0.7757 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05948/1.043, allocations: 19.71 MB / 0.795 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.3, allocations: 0 / 0.795 GB, free: 2.609 MB / 0.5762 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: 17.364525388926268] 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'] 14.40104662021622 14.416377164 13.479872013 Calling exit ...