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.001594/0.001594, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001517/0.001517, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2336/0.2336, allocations: 46.94 MB / 361.6 MB, free: 3.949 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.002249/0.002249, allocations: 79.88 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2962, allocations: 66.08 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1979/0.4941, allocations: 161.4 MB / 0.7191 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.498, allocations: 2.022 MB / 0.721 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005539/0.4986, allocations: 23.8 kB / 0.7211 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.4995, allocations: 290 kB / 0.7213 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.5024, allocations: 1.206 MB / 0.7225 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5041, allocations: 0.6932 MB / 0.7232 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.5058, allocations: 1.5 MB / 0.7247 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.5064, allocations: 367.8 kB / 0.725 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.5073, allocations: 0.5877 MB / 0.7256 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.508, allocations: 458.1 kB / 0.726 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.5081, allocations: 48 kB / 0.7261 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.5096, allocations: 0.71 MB / 0.7268 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.5098, allocations: 147.5 kB / 0.7269 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.5101, allocations: 282.8 kB / 0.7272 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.5119, allocations: 1.207 MB / 0.7284 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5119, allocations: 0 / 0.7284 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5119, allocations: 4 kB / 0.7284 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.5119, allocations: 0 / 0.7284 GB, free: 8.492 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.001976/0.5139, allocations: 0.9286 MB / 0.7293 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5139, allocations: 12.03 kB / 0.7293 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.384e-05/0.5139, allocations: 12.98 kB / 0.7293 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.514, allocations: 78.53 kB / 0.7294 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.515, allocations: 139.5 kB / 0.7295 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.5158, allocations: 393.7 kB / 0.7299 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.5159, allocations: 32.98 kB / 0.7299 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.5159, allocations: 43.94 kB / 0.7299 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5173, allocations: 0.8528 MB / 0.7308 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5173, allocations: 0 / 0.7308 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.5174, allocations: 16 kB / 0.7308 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5174, allocations: 12 kB / 0.7308 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/0.5183, allocations: 415.6 kB / 0.7312 GB, free: 5.395 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.002716/0.521, allocations: 1.883 MB / 0.733 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.5216, allocations: 277.3 kB / 0.7333 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.5219, allocations: 132.9 kB / 0.7334 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.5221, allocations: 47.97 kB / 0.7335 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.5222, allocations: 34.56 kB / 0.7335 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.684e-06/0.5222, allocations: 0 / 0.7335 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002508/0.5247, allocations: 0.6345 MB / 0.7341 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.5248, allocations: 140.4 kB / 0.7343 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.5254, allocations: 441.9 kB / 0.7347 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.5254, allocations: 33.7 kB / 0.7347 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.5256, allocations: 284.2 kB / 0.735 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.5258, allocations: 107 kB / 0.7351 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.526, allocations: 105.7 kB / 0.7352 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.5262, allocations: 358.8 kB / 0.7355 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.5266, allocations: 139.9 kB / 0.7357 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.5272, allocations: 349.5 kB / 0.736 GB, free: 244 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2195/0.7466, allocations: 423.7 kB / 0.7364 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7467, allocations: 1.031 kB / 0.7364 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001469/0.7481, allocations: 0.534 MB / 0.7369 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7481, allocations: 8.703 kB / 0.7369 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7482, allocations: 3.625 kB / 0.7369 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.7504, allocations: 274.2 kB / 0.7372 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.7508, allocations: 105 kB / 0.7373 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008533/0.7517, allocations: 0.596 MB / 0.7379 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.7521, allocations: 52.7 kB / 0.7379 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.7522, allocations: 48.17 kB / 0.738 GB, free: 175 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.0002637/0.7525, allocations: 189.9 kB / 0.7382 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.7526, allocations: 53.94 kB / 0.7382 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.7546, allocations: 1.023 MB / 0.7392 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.7546, allocations: 2.938 kB / 0.7392 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7546, allocations: 2.453 kB / 0.7392 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7547, allocations: 0.9375 kB / 0.7392 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.7561, allocations: 0.89 MB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7561, allocations: 0 / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.7563, allocations: 54.88 kB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.7579, allocations: 257.5 kB / 0.7404 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.758, allocations: 11.39 kB / 0.7404 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007158/0.7587, allocations: 0.6066 MB / 0.741 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7587, allocations: 3.781 kB / 0.741 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.7597, allocations: 0.507 MB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.7598, allocations: 61.92 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.7599, allocations: 10.97 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.7603, allocations: 20.5 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.7604, allocations: 22 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.7604, allocations: 21.59 kB / 0.7416 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003605/0.7608, allocations: 387.2 kB / 0.742 GB, free: 173 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7608, allocations: 3.812 kB / 0.742 GB, free: 173 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006692/0.7614, allocations: 219.6 kB / 0.7422 GB, free: 173 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.00166/0.7631, allocations: 1.227 MB / 0.7434 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.7643, allocations: 358.5 kB / 0.7437 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7643, allocations: 7.062 kB / 0.7437 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.765, allocations: 160.1 kB / 0.7439 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.7663, allocations: 343 kB / 0.7442 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.772, allocations: 4.699 MB / 0.7488 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.7722, allocations: 246.4 kB / 0.749 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008017/0.773, allocations: 0.5517 MB / 0.7496 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.7733, allocations: 227.3 kB / 0.7498 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.7733, allocations: 0 / 0.7498 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.8138, allocations: 20.88 MB / 0.7702 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.15, allocations: 8.062 kB / 0.7702 GB, free: 144.6 MB / 0.5606 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.212839610991068] 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.336822981014848 14.357137136 13.841203652 Calling exit ...