Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001261/0.001261, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00138/0.00138, allocations: 210.3 kB / 24.53 MB, free: 4.07 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.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.92 MB / 361.6 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 75.88 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2736, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.496/0.7696, allocations: 186.6 MB / 0.7438 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.7733, allocations: 2.148 MB / 0.7459 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.7739, allocations: 24.81 kB / 0.7459 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.7747, allocations: 306.8 kB / 0.7462 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.7777, allocations: 1.199 MB / 0.7474 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.7793, allocations: 0.6952 MB / 0.748 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.7809, allocations: 1.505 MB / 0.7495 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.7814, allocations: 348.8 kB / 0.7498 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009001/0.7823, allocations: 0.5859 MB / 0.7504 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.7829, allocations: 464 kB / 0.7509 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.7829, allocations: 48.09 kB / 0.7509 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.7846, allocations: 0.817 MB / 0.7517 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.7848, allocations: 156.2 kB / 0.7518 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.7851, allocations: 328.3 kB / 0.7522 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.7872, allocations: 1.218 MB / 0.7533 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7872, allocations: 0.875 kB / 0.7533 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.577e-06/0.7872, allocations: 5.578 kB / 0.7534 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.7872, allocations: 0 / 0.7534 GB, free: 1.562 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.002411/0.7896, allocations: 0.9318 MB / 0.7543 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.7897, allocations: 11.75 kB / 0.7543 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.544e-05/0.7897, allocations: 11.12 kB / 0.7543 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.7898, allocations: 85.62 kB / 0.7544 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.7909, allocations: 138.1 kB / 0.7545 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.7916, allocations: 399.1 kB / 0.7549 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.7916, allocations: 31.11 kB / 0.7549 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.7917, allocations: 43.25 kB / 0.7549 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008707/0.7926, allocations: 0.5452 MB / 0.7555 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7926, allocations: 4.25 kB / 0.7555 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.7926, allocations: 17.31 kB / 0.7555 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.7927, allocations: 14.19 kB / 0.7555 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.7934, allocations: 408.7 kB / 0.7559 GB, free: 16.66 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.002682/0.796, allocations: 2.537 MB / 0.7584 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.7966, allocations: 281.6 kB / 0.7587 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.7968, allocations: 137.1 kB / 0.7588 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.797, allocations: 48.05 kB / 0.7588 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.797, allocations: 38.62 kB / 0.7589 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.797, allocations: 0 / 0.7589 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002172/0.7992, allocations: 0.6242 MB / 0.7595 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.7993, allocations: 140.5 kB / 0.7596 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.7997, allocations: 451 kB / 0.76 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.7998, allocations: 32.98 kB / 0.7601 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.7999, allocations: 275.4 kB / 0.7603 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.8, allocations: 104.5 kB / 0.7604 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.8001, allocations: 106.3 kB / 0.7605 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8003, allocations: 363.8 kB / 0.7609 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.8006, allocations: 140.3 kB / 0.761 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.801, allocations: 281.5 kB / 0.7613 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.8018, allocations: 427.9 kB / 0.7617 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.8018, allocations: 0.9062 kB / 0.7617 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001084/0.8029, allocations: 0.5207 MB / 0.7622 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8029, allocations: 9.438 kB / 0.7622 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8029, allocations: 1.844 kB / 0.7622 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.8048, allocations: 275.4 kB / 0.7625 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.8051, allocations: 99.14 kB / 0.7626 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009105/0.806, allocations: 0.6163 MB / 0.7632 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.8064, allocations: 47.5 kB / 0.7632 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.8065, allocations: 50.25 kB / 0.7633 GB, free: 13 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.0002662/0.8067, allocations: 175.5 kB / 0.7634 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.8069, allocations: 55.48 kB / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.8086, allocations: 1.026 MB / 0.7645 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8086, allocations: 4.688 kB / 0.7645 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8086, allocations: 2.438 kB / 0.7645 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8086, allocations: 1.031 kB / 0.7645 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.8101, allocations: 0.9436 MB / 0.7654 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.8101, allocations: 4 kB / 0.7654 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.8103, allocations: 48.7 kB / 0.7655 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.8119, allocations: 261 kB / 0.7657 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.812, allocations: 13.36 kB / 0.7657 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.8128, allocations: 0.6026 MB / 0.7663 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8128, allocations: 4.219 kB / 0.7663 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.814, allocations: 0.512 MB / 0.7668 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8141, allocations: 60.45 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.8142, allocations: 7.625 kB / 0.7669 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.8146, allocations: 20.03 kB / 0.7669 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.8146, allocations: 26.66 kB / 0.7669 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.8147, allocations: 21.45 kB / 0.7669 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003984/0.8151, allocations: 394.1 kB / 0.7673 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8151, allocations: 0 / 0.7673 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007353/0.8158, allocations: 226.6 kB / 0.7675 GB, free: 11.48 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.001938/0.8177, allocations: 1.217 MB / 0.7687 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.819, allocations: 359.2 kB / 0.7691 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.819, allocations: 1.125 kB / 0.7691 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.8197, allocations: 150.2 kB / 0.7692 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.8214, allocations: 352.6 kB / 0.7696 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.8285, allocations: 4.712 MB / 0.7742 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.8289, allocations: 0.8443 MB / 0.775 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009781/0.8299, allocations: 0.5409 MB / 0.7755 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.8302, allocations: 228.3 kB / 0.7757 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.8302, allocations: 2.141 kB / 0.7757 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/0.8762, allocations: 19.78 MB / 0.795 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.12, allocations: 6.578 kB / 0.7951 GB, free: 2.547 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.102262152999174] 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.304628843034152 14.326727818 13.535316652 Calling exit ...