Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001706/0.001706, allocations: 109 kB / 20.48 MB, free: 1.477 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.002044/0.002044, allocations: 207.9 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 234.6 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 63.91 kB / 468.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 61.05 MB / 0.5169 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4427/0.567, allocations: 190.7 MB / 0.7032 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.5711, allocations: 2.154 MB / 0.7053 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.5716, allocations: 19.81 kB / 0.7053 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.5725, allocations: 301.9 kB / 0.7056 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.5761, allocations: 1.444 MB / 0.707 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.5779, allocations: 0.6969 MB / 0.7077 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.58, allocations: 1.496 MB / 0.7092 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.5806, allocations: 359.8 kB / 0.7095 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.5816, allocations: 0.5722 MB / 0.7101 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006659/0.5822, allocations: 458.1 kB / 0.7105 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.5823, allocations: 48 kB / 0.7106 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.5845, allocations: 1.022 MB / 0.7115 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.5847, allocations: 159.4 kB / 0.7117 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.5851, allocations: 326.5 kB / 0.712 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.5873, allocations: 1.336 MB / 0.7133 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5873, allocations: 0 / 0.7133 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5873, allocations: 0 / 0.7133 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5873, allocations: 0 / 0.7133 GB, free: 10.51 MB / 0.545 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.002102/0.5894, allocations: 0.9713 MB / 0.7143 GB, free: 9.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5895, allocations: 8.031 kB / 0.7143 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.632e-05/0.5895, allocations: 20.94 kB / 0.7143 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5896, allocations: 78.53 kB / 0.7144 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/0.5906, allocations: 139.5 kB / 0.7145 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.5914, allocations: 401.7 kB / 0.7149 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.5915, allocations: 29 kB / 0.7149 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.5915, allocations: 43.94 kB / 0.715 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5927, allocations: 0.5476 MB / 0.7155 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5927, allocations: 0 / 0.7155 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.5927, allocations: 27.98 kB / 0.7155 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.5927, allocations: 8 kB / 0.7155 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.5936, allocations: 407.6 kB / 0.7159 GB, free: 7.75 MB / 0.545 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.0032/0.5968, allocations: 2.549 MB / 0.7184 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.5975, allocations: 275.3 kB / 0.7187 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.5978, allocations: 141.8 kB / 0.7188 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009774/0.5987, allocations: 406.2 kB / 0.7192 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5988, allocations: 34.56 kB / 0.7192 GB, free: 4.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.5988, allocations: 0 / 0.7192 GB, free: 4.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.002485/0.6013, allocations: 0.6305 MB / 0.7198 GB, free: 3.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.6014, allocations: 132.5 kB / 0.72 GB, free: 3.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.6019, allocations: 441.9 kB / 0.7204 GB, free: 2.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.602, allocations: 33.7 kB / 0.7204 GB, free: 2.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.6022, allocations: 292.1 kB / 0.7207 GB, free: 2.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6023, allocations: 103.1 kB / 0.7208 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.6025, allocations: 97.66 kB / 0.7209 GB, free: 2.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6027, allocations: 358.8 kB / 0.7212 GB, free: 2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.6031, allocations: 139.9 kB / 0.7214 GB, free: 1.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.6037, allocations: 279.2 kB / 0.7216 GB, free: 1.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.6046, allocations: 416.5 kB / 0.722 GB, free: 1.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.6046, allocations: 4 kB / 0.722 GB, free: 1.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001356/0.6059, allocations: 0.5309 MB / 0.7225 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.606, allocations: 7.938 kB / 0.7226 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.606, allocations: 4 kB / 0.7226 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.6081, allocations: 264.9 kB / 0.7228 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.6086, allocations: 107.8 kB / 0.7229 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.6097, allocations: 0.6069 MB / 0.7235 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.6101, allocations: 43.66 kB / 0.7235 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/0.6102, allocations: 51.97 kB / 0.7236 GB, free: 15.43 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.0003123/0.6106, allocations: 181.6 kB / 0.7238 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.6107, allocations: 51.67 kB / 0.7238 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.6124, allocations: 0.657 MB / 0.7245 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6125, allocations: 4 kB / 0.7245 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6125, allocations: 3.562 kB / 0.7245 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.6125, allocations: 3.938 kB / 0.7245 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.6143, allocations: 0.9509 MB / 0.7254 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6143, allocations: 0 / 0.7254 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.6146, allocations: 55.89 kB / 0.7255 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.6164, allocations: 260.6 kB / 0.7257 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.6165, allocations: 11.98 kB / 0.7257 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.6175, allocations: 0.6069 MB / 0.7263 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6175, allocations: 4.031 kB / 0.7263 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.6189, allocations: 0.508 MB / 0.7268 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6191, allocations: 55.64 kB / 0.7269 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6192, allocations: 15.89 kB / 0.7269 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.6196, allocations: 15.98 kB / 0.7269 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.6197, allocations: 27.89 kB / 0.7269 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.6197, allocations: 23.97 kB / 0.7269 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005067/0.6202, allocations: 382.8 kB / 0.7273 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6202, allocations: 0 / 0.7273 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008491/0.6211, allocations: 267.5 kB / 0.7276 GB, free: 11.21 MB / 0.5606 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.002574/0.6236, allocations: 1.317 MB / 0.7288 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.6251, allocations: 359.5 kB / 0.7292 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6251, allocations: 0 / 0.7292 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.6259, allocations: 157 kB / 0.7293 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.6277, allocations: 352.1 kB / 0.7297 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.6359, allocations: 4.708 MB / 0.7343 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.6364, allocations: 0.8472 MB / 0.7351 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007193/0.6371, allocations: 196.8 kB / 0.7353 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.6375, allocations: 211.3 kB / 0.7355 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.6375, allocations: 0 / 0.7355 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.6869, allocations: 20.73 MB / 0.7557 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.91, allocations: 7.844 kB / 0.7557 GB, free: 14.09 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.092045019031502] 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'] 15.091423857957125 15.105101288 14.514664406 Calling exit ...