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.001256/0.001256, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00142/0.00142, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2299/0.2299, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.003667/0.003667, allocations: 87.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3781, allocations: 66.07 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6084/0.9865, allocations: 186.6 MB / 0.7438 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.991, allocations: 2.147 MB / 0.7459 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007562/0.9918, allocations: 22.81 kB / 0.7459 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.9928, allocations: 305.1 kB / 0.7462 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.9967, allocations: 1.203 MB / 0.7474 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.9991, allocations: 0.6926 MB / 0.748 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002272/1.001, allocations: 1.504 MB / 0.7495 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/1.002, allocations: 354.6 kB / 0.7498 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/1.003, allocations: 0.587 MB / 0.7504 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/1.004, allocations: 460.8 kB / 0.7509 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/1.004, allocations: 47.97 kB / 0.7509 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/1.005, allocations: 0.8186 MB / 0.7517 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/1.006, allocations: 156.2 kB / 0.7518 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/1.006, allocations: 330.1 kB / 0.7522 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/1.008, allocations: 1.217 MB / 0.7534 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.008, allocations: 0 / 0.7534 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.454e-06/1.008, allocations: 2.594 kB / 0.7534 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.008, allocations: 0.9375 kB / 0.7534 GB, free: 1.621 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.001761/1.01, allocations: 0.9306 MB / 0.7543 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.01, allocations: 10.12 kB / 0.7543 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/1.01, allocations: 87.72 kB / 0.7544 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/1.011, allocations: 138.6 kB / 0.7545 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/1.011, allocations: 405.2 kB / 0.7549 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/1.011, allocations: 30.5 kB / 0.7549 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/1.011, allocations: 38.66 kB / 0.7549 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/1.012, allocations: 0.5519 MB / 0.7555 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.012, allocations: 2.531 kB / 0.7555 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/1.012, allocations: 19.81 kB / 0.7555 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.012, allocations: 12.27 kB / 0.7555 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/1.013, allocations: 408.9 kB / 0.7559 GB, free: 16.71 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.002808/1.016, allocations: 2.529 MB / 0.7584 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/1.017, allocations: 283.3 kB / 0.7586 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.017, allocations: 138 kB / 0.7588 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/1.017, allocations: 48.73 kB / 0.7588 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.017, allocations: 40.88 kB / 0.7589 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/1.017, allocations: 5.781 kB / 0.7589 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002289/1.019, allocations: 0.6224 MB / 0.7595 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/1.019, allocations: 137.5 kB / 0.7596 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/1.02, allocations: 450.4 kB / 0.76 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/1.02, allocations: 33.36 kB / 0.7601 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/1.02, allocations: 276.5 kB / 0.7603 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/1.02, allocations: 108.9 kB / 0.7604 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.02, allocations: 105.9 kB / 0.7605 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.02, allocations: 364.2 kB / 0.7609 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/1.021, allocations: 148.8 kB / 0.761 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/1.021, allocations: 270.5 kB / 0.7613 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/1.022, allocations: 429.7 kB / 0.7617 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.022, allocations: 3.312 kB / 0.7617 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/1.023, allocations: 0.5204 MB / 0.7622 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.023, allocations: 8.594 kB / 0.7622 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.023, allocations: 3.406 kB / 0.7622 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.025, allocations: 268.9 kB / 0.7625 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/1.026, allocations: 102.5 kB / 0.7626 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.027, allocations: 0.6069 MB / 0.7632 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.027, allocations: 49.77 kB / 0.7632 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.027, allocations: 49.03 kB / 0.7633 GB, free: 13.05 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.0004022/1.028, allocations: 177.5 kB / 0.7634 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.028, allocations: 54.89 kB / 0.7635 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.03, allocations: 1.028 MB / 0.7645 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.03, allocations: 4.5 kB / 0.7645 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.03, allocations: 0 / 0.7645 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.03, allocations: 3.531 kB / 0.7645 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.032, allocations: 0.9454 MB / 0.7654 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.032, allocations: 2.469 kB / 0.7654 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.032, allocations: 47.59 kB / 0.7655 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/1.034, allocations: 258.4 kB / 0.7657 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/1.034, allocations: 18.03 kB / 0.7657 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/1.035, allocations: 0.5976 MB / 0.7663 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.035, allocations: 14.42 kB / 0.7663 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/1.036, allocations: 0.5057 MB / 0.7668 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/1.036, allocations: 58.52 kB / 0.7669 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.037, allocations: 10.97 kB / 0.7669 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/1.037, allocations: 18.03 kB / 0.7669 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/1.037, allocations: 26.67 kB / 0.7669 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.037, allocations: 20.98 kB / 0.7669 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004701/1.037, allocations: 384.1 kB / 0.7673 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.037, allocations: 4.875 kB / 0.7673 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009217/1.038, allocations: 224.3 kB / 0.7675 GB, free: 11.54 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.00214/1.041, allocations: 1.225 MB / 0.7687 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001355/1.042, allocations: 351.9 kB / 0.7691 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.042, allocations: 3.188 kB / 0.7691 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/1.043, allocations: 161.5 kB / 0.7692 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.044, allocations: 343.5 kB / 0.7695 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/1.052, allocations: 4.71 MB / 0.7741 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.053, allocations: 0.8453 MB / 0.775 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001124/1.054, allocations: 0.5465 MB / 0.7755 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/1.054, allocations: 223.1 kB / 0.7757 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/1.054, allocations: 3.938 kB / 0.7757 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/1.113, allocations: 19.73 MB / 0.795 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.04, allocations: 2.531 kB / 0.795 GB, free: 2.641 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 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.87112657399848] 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.158344305120409 14.170603861 13.159890611 Calling exit ...