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.001905/0.001905, allocations: 117.4 kB / 18.45 MB, free: 4.617 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.002343/0.002344, allocations: 206.5 kB / 21.41 MB, free: 1.66 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.501/1.501, allocations: 227.4 MB / 251.7 MB, free: 276 kB / 190.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.2309/0.2309, allocations: 46.15 MB / 351.1 MB, free: 14.34 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.003389/0.003389, allocations: 82.27 kB / 489.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1404, allocations: 62.45 MB / 0.5392 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5331/0.6735, allocations: 185.8 MB / 0.7206 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004302/0.6779, allocations: 2.135 MB / 0.7227 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.6785, allocations: 15.88 kB / 0.7227 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009278/0.6794, allocations: 298 kB / 0.723 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.6827, allocations: 1.18 MB / 0.7241 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.6845, allocations: 0.6706 MB / 0.7248 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.6868, allocations: 1.484 MB / 0.7262 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008262/0.6877, allocations: 432.1 kB / 0.7266 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.6888, allocations: 0.5605 MB / 0.7272 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.6896, allocations: 442.2 kB / 0.7276 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.6898, allocations: 52 kB / 0.7277 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.6916, allocations: 0.7957 MB / 0.7284 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6918, allocations: 151.5 kB / 0.7286 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.6922, allocations: 326.6 kB / 0.7289 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.6942, allocations: 1.211 MB / 0.7301 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.6942, allocations: 4 kB / 0.7301 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6942, allocations: 0 / 0.7301 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6943, allocations: 0 / 0.7301 GB, free: 12.38 MB / 0.5294 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.001853/0.6961, allocations: 1.012 MB / 0.7311 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6962, allocations: 8.031 kB / 0.7311 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.6963, allocations: 82.53 kB / 0.7312 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.6973, allocations: 135.5 kB / 0.7313 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.6981, allocations: 464.9 kB / 0.7317 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.6981, allocations: 29 kB / 0.7318 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.6982, allocations: 46.19 kB / 0.7318 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6993, allocations: 0.5515 MB / 0.7323 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6993, allocations: 0 / 0.7323 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.6993, allocations: 19.94 kB / 0.7324 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.6994, allocations: 16 kB / 0.7324 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.7003, allocations: 407.6 kB / 0.7328 GB, free: 9.492 MB / 0.5294 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.003118/0.7034, allocations: 2.577 MB / 0.7353 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.7041, allocations: 291.2 kB / 0.7356 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.7044, allocations: 149 kB / 0.7357 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.7048, allocations: 356.4 kB / 0.736 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.7048, allocations: 38.56 kB / 0.7361 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.7048, allocations: 0 / 0.7361 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002546/0.7074, allocations: 0.7071 MB / 0.7368 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.7075, allocations: 132.5 kB / 0.7369 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.708, allocations: 441.9 kB / 0.7373 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.7081, allocations: 37.7 kB / 0.7374 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.7084, allocations: 280.2 kB / 0.7376 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7085, allocations: 111 kB / 0.7377 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.7087, allocations: 101.7 kB / 0.7378 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7089, allocations: 354.8 kB / 0.7382 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.7093, allocations: 147.8 kB / 0.7383 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.7098, allocations: 280.3 kB / 0.7386 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.7108, allocations: 425.5 kB / 0.739 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7108, allocations: 0 / 0.739 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001334/0.7121, allocations: 0.529 MB / 0.7395 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.7122, allocations: 10.19 kB / 0.7395 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7122, allocations: 8.375 kB / 0.7395 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.7143, allocations: 272.5 kB / 0.7398 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.7148, allocations: 99.88 kB / 0.7399 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009842/0.7158, allocations: 0.6069 MB / 0.7405 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.7162, allocations: 43.72 kB / 0.7405 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.7163, allocations: 51.92 kB / 0.7405 GB, free: 0.9844 MB / 0.5294 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.0002999/0.7166, allocations: 181.6 kB / 0.7407 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7168, allocations: 55.61 kB / 0.7408 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.719, allocations: 1.021 MB / 0.7418 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.719, allocations: 4 kB / 0.7418 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.719, allocations: 0 / 0.7418 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.719, allocations: 0 / 0.7418 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.7209, allocations: 0.9751 MB / 0.7427 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7209, allocations: 0 / 0.7427 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.7211, allocations: 57.08 kB / 0.7428 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.723, allocations: 256.6 kB / 0.743 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.723, allocations: 15.92 kB / 0.743 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009818/0.724, allocations: 0.5992 MB / 0.7436 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.724, allocations: 3.938 kB / 0.7436 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.7255, allocations: 0.5034 MB / 0.7441 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.7257, allocations: 144.6 kB / 0.7443 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7258, allocations: 12 kB / 0.7443 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.7262, allocations: 20.8 kB / 0.7443 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.7263, allocations: 27.89 kB / 0.7443 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.7264, allocations: 19.98 kB / 0.7443 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005521/0.7269, allocations: 386.8 kB / 0.7447 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7269, allocations: 0 / 0.7447 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008427/0.7278, allocations: 223.6 kB / 0.7449 GB, free: 12.32 MB / 0.545 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.002382/0.7302, allocations: 1.247 MB / 0.7461 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.7317, allocations: 368 kB / 0.7465 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7317, allocations: 0 / 0.7465 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.7325, allocations: 163.8 kB / 0.7466 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.7344, allocations: 350.6 kB / 0.747 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008302/0.7427, allocations: 4.711 MB / 0.7516 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.7433, allocations: 0.8472 MB / 0.7524 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001217/0.7445, allocations: 0.5472 MB / 0.7529 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.7449, allocations: 223.3 kB / 0.7532 GB, free: 3.633 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.745, allocations: 0 / 0.7532 GB, free: 3.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07391/0.8189, allocations: 19.49 MB / 0.7722 GB, free: 408 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.15, allocations: 4.438 kB / 0.7722 GB, free: 404 kB / 0.5606 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: 17.178285823902115] 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.2578261771705 14.284969299 13.585584978 Calling exit ...