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.001822/0.001822, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002138/0.002138, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.452/1.452, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2249/0.2249, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.002234/0.002234, allocations: 75.88 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 65.98 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4873/0.6272, allocations: 186.4 MB / 0.7377 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.6317, allocations: 2.137 MB / 0.7398 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.6324, allocations: 15.88 kB / 0.7398 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6335, allocations: 305.9 kB / 0.7401 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.6371, allocations: 1.193 MB / 0.7412 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.6389, allocations: 0.6703 MB / 0.7419 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.641, allocations: 1.484 MB / 0.7433 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.6416, allocations: 375.8 kB / 0.7437 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/0.6425, allocations: 0.5761 MB / 0.7443 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.643, allocations: 470.1 kB / 0.7447 GB, free: 332 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.6431, allocations: 48 kB / 0.7447 GB, free: 284 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.6447, allocations: 0.8074 MB / 0.7455 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.6449, allocations: 155.4 kB / 0.7457 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.6453, allocations: 326.5 kB / 0.746 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.6471, allocations: 1.215 MB / 0.7472 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6471, allocations: 0 / 0.7472 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6471, allocations: 0 / 0.7472 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.6471, allocations: 4 kB / 0.7472 GB, free: 13.77 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.001867/0.649, allocations: 1.008 MB / 0.7482 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.649, allocations: 8.031 kB / 0.7482 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.6491, allocations: 86.52 kB / 0.7483 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009797/0.6501, allocations: 135.5 kB / 0.7484 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.6509, allocations: 468.9 kB / 0.7488 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.651, allocations: 29 kB / 0.7489 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.651, allocations: 44 kB / 0.7489 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6522, allocations: 0.5592 MB / 0.7495 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6522, allocations: 0 / 0.7495 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.6523, allocations: 20 kB / 0.7495 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6523, allocations: 12 kB / 0.7495 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.6531, allocations: 411.6 kB / 0.7499 GB, free: 10.88 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.003107/0.6562, allocations: 2.574 MB / 0.7524 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.6569, allocations: 274 kB / 0.7527 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.6572, allocations: 136.9 kB / 0.7528 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.6575, allocations: 352.3 kB / 0.7531 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6575, allocations: 38.56 kB / 0.7532 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.6575, allocations: 0 / 0.7532 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002408/0.6599, allocations: 0.7019 MB / 0.7538 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6601, allocations: 136.5 kB / 0.754 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.6606, allocations: 449.9 kB / 0.7544 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.6607, allocations: 29.7 kB / 0.7544 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.6609, allocations: 284.2 kB / 0.7547 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.661, allocations: 111 kB / 0.7548 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.6611, allocations: 101.7 kB / 0.7549 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6613, allocations: 362.8 kB / 0.7552 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.6617, allocations: 139.9 kB / 0.7554 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.6622, allocations: 276.3 kB / 0.7556 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.6631, allocations: 421.6 kB / 0.756 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6631, allocations: 7.938 kB / 0.7561 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001252/0.6643, allocations: 0.5251 MB / 0.7566 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6644, allocations: 8.438 kB / 0.7566 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6644, allocations: 11.94 kB / 0.7566 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.6664, allocations: 268.4 kB / 0.7568 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.6669, allocations: 103.9 kB / 0.7569 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009806/0.6678, allocations: 0.6069 MB / 0.7575 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.6683, allocations: 43.73 kB / 0.7576 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.6684, allocations: 47.97 kB / 0.7576 GB, free: 2.41 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.0003/0.6687, allocations: 180.6 kB / 0.7578 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6688, allocations: 55.67 kB / 0.7578 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6709, allocations: 1.026 MB / 0.7588 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6709, allocations: 7.938 kB / 0.7589 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6709, allocations: 0 / 0.7589 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6709, allocations: 0 / 0.7589 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.6727, allocations: 0.9636 MB / 0.7598 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6727, allocations: 4 kB / 0.7598 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.673, allocations: 57.02 kB / 0.7599 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.6748, allocations: 256.6 kB / 0.7601 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.6748, allocations: 15.92 kB / 0.7601 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009439/0.6758, allocations: 0.5992 MB / 0.7607 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6758, allocations: 0 / 0.7607 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.6771, allocations: 0.5197 MB / 0.7612 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.6773, allocations: 136.6 kB / 0.7613 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.6774, allocations: 8 kB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.6777, allocations: 16.86 kB / 0.7614 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.6778, allocations: 31.83 kB / 0.7614 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.6779, allocations: 19.98 kB / 0.7614 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004873/0.6783, allocations: 382.8 kB / 0.7618 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6783, allocations: 4 kB / 0.7618 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007278/0.6791, allocations: 223.6 kB / 0.762 GB, free: 13.75 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.002177/0.6812, allocations: 1.238 MB / 0.7632 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.6826, allocations: 355.5 kB / 0.7635 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6826, allocations: 0 / 0.7635 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.6833, allocations: 153 kB / 0.7637 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.6849, allocations: 351.3 kB / 0.764 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007678/0.6926, allocations: 4.718 MB / 0.7686 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.6931, allocations: 0.8472 MB / 0.7695 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6942, allocations: 0.5419 MB / 0.77 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.6946, allocations: 227.3 kB / 0.7702 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6946, allocations: 0 / 0.7702 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/0.7453, allocations: 19.58 MB / 0.7893 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.89, allocations: 0 / 0.7893 GB, free: 1.766 MB / 0.5919 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.858403678052127] 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'] 13.998135567177087 14.022544032 13.370857545 Calling exit ...