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.001852/0.001852, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002255/0.002255, allocations: 219 kB / 21.46 MB, free: 1.586 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2356/0.2356, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.002132/0.002132, allocations: 63.91 kB / 0.4916 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1313, allocations: 65.99 MB / 0.5561 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4995/0.6308, allocations: 186.4 MB / 0.7381 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.6351, allocations: 2.146 MB / 0.7402 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.6355, allocations: 23.75 kB / 0.7402 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.6364, allocations: 298 kB / 0.7405 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.6395, allocations: 1.194 MB / 0.7416 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.6415, allocations: 0.6753 MB / 0.7423 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.6438, allocations: 1.481 MB / 0.7437 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.6446, allocations: 383.8 kB / 0.7441 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.6456, allocations: 0.5838 MB / 0.7447 GB, free: 164 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.6463, allocations: 462.1 kB / 0.7451 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.559e-05/0.6464, allocations: 48 kB / 0.7452 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.6483, allocations: 0.8036 MB / 0.746 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.6485, allocations: 159.4 kB / 0.7461 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.6489, allocations: 322.5 kB / 0.7464 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.651, allocations: 1.222 MB / 0.7476 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.651, allocations: 4 kB / 0.7476 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.651, allocations: 0 / 0.7476 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.6511, allocations: 3.938 kB / 0.7476 GB, free: 13.15 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.002004/0.6531, allocations: 1.012 MB / 0.7486 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6531, allocations: 8.031 kB / 0.7486 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.6531, allocations: 13 kB / 0.7486 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6532, allocations: 82.52 kB / 0.7487 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6543, allocations: 139.5 kB / 0.7488 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.6551, allocations: 460.9 kB / 0.7493 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.6551, allocations: 29 kB / 0.7493 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.6552, allocations: 40 kB / 0.7493 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6563, allocations: 0.5554 MB / 0.7499 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6563, allocations: 3.984 kB / 0.7499 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.6564, allocations: 16 kB / 0.7499 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6564, allocations: 12 kB / 0.7499 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.6574, allocations: 407.6 kB / 0.7503 GB, free: 10.26 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.003335/0.6607, allocations: 2.57 MB / 0.7528 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.6615, allocations: 281.9 kB / 0.7531 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.6618, allocations: 136.8 kB / 0.7532 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/0.6622, allocations: 356.4 kB / 0.7536 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.6622, allocations: 38.56 kB / 0.7536 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.6622, allocations: 0 / 0.7536 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002718/0.6649, allocations: 0.7137 MB / 0.7543 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.665, allocations: 132.5 kB / 0.7544 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.6656, allocations: 441.9 kB / 0.7548 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.6657, allocations: 33.64 kB / 0.7549 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6659, allocations: 280.2 kB / 0.7551 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.666, allocations: 111 kB / 0.7552 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.6662, allocations: 105.6 kB / 0.7553 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6664, allocations: 354.8 kB / 0.7557 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.6668, allocations: 151.8 kB / 0.7558 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.6673, allocations: 276.3 kB / 0.7561 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6684, allocations: 421.6 kB / 0.7565 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6684, allocations: 4 kB / 0.7565 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001426/0.6698, allocations: 0.529 MB / 0.757 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6698, allocations: 7.938 kB / 0.757 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6699, allocations: 4 kB / 0.757 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.6721, allocations: 272.8 kB / 0.7573 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.6725, allocations: 99.88 kB / 0.7574 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.6736, allocations: 0.603 MB / 0.758 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.674, allocations: 47.78 kB / 0.758 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.6741, allocations: 51.97 kB / 0.7581 GB, free: 1.773 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.0003217/0.6744, allocations: 179.8 kB / 0.7582 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.6746, allocations: 59.61 kB / 0.7583 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.6768, allocations: 1.024 MB / 0.7593 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6768, allocations: 0 / 0.7593 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6768, allocations: 4 kB / 0.7593 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6768, allocations: 3.938 kB / 0.7593 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.6787, allocations: 0.9666 MB / 0.7602 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6787, allocations: 0 / 0.7602 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.679, allocations: 51.95 kB / 0.7603 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.6809, allocations: 264.5 kB / 0.7605 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.6809, allocations: 15.98 kB / 0.7606 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.6819, allocations: 0.5992 MB / 0.7611 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6819, allocations: 4.031 kB / 0.7611 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.6834, allocations: 0.5079 MB / 0.7616 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.6836, allocations: 136.6 kB / 0.7618 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.6837, allocations: 12 kB / 0.7618 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.6841, allocations: 23.92 kB / 0.7618 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.6842, allocations: 23.91 kB / 0.7618 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.6843, allocations: 19.97 kB / 0.7618 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000532/0.6848, allocations: 390.8 kB / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6848, allocations: 0 / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008505/0.6856, allocations: 223.6 kB / 0.7624 GB, free: 13.11 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.002383/0.688, allocations: 1.22 MB / 0.7636 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.6896, allocations: 355.6 kB / 0.764 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6896, allocations: 4.812 kB / 0.764 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.6903, allocations: 151.9 kB / 0.7641 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.6922, allocations: 349.4 kB / 0.7644 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.7006, allocations: 4.718 MB / 0.7691 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.7011, allocations: 0.851 MB / 0.7699 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001136/0.7022, allocations: 0.5397 MB / 0.7704 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.7027, allocations: 223.3 kB / 0.7706 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.7027, allocations: 0 / 0.7706 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.7484, allocations: 19.57 MB / 0.7897 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.17, allocations: 11.05 kB / 0.7897 GB, free: 1.188 MB / 0.5919 GB " [Timeout remaining time 646] (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: 17.478254924993962] 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.354576378013007 14.369924704 13.715777373 Calling exit ...