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.001871/0.001871, allocations: 117 kB / 18.49 MB, free: 4.566 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.002167/0.002167, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2215/0.2215, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.002206/0.002206, allocations: 79.88 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 66.04 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4847/0.604, allocations: 186.4 MB / 0.7382 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005725/0.6098, allocations: 2.143 MB / 0.7403 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.6106, allocations: 19.81 kB / 0.7403 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.6117, allocations: 301.9 kB / 0.7406 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.6153, allocations: 1.199 MB / 0.7417 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.6173, allocations: 0.6718 MB / 0.7424 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002569/0.6199, allocations: 1.488 MB / 0.7438 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.6205, allocations: 371.9 kB / 0.7442 GB, free: 340 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.6216, allocations: 0.5839 MB / 0.7448 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.6222, allocations: 462 kB / 0.7452 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.6223, allocations: 48 kB / 0.7453 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.6242, allocations: 0.8114 MB / 0.746 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.6243, allocations: 155.4 kB / 0.7462 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.6247, allocations: 330.5 kB / 0.7465 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.6267, allocations: 1.207 MB / 0.7477 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6267, allocations: 4 kB / 0.7477 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6267, allocations: 4 kB / 0.7477 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.6267, allocations: 0 / 0.7477 GB, free: 12.74 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.00201/0.6287, allocations: 1.012 MB / 0.7487 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6287, allocations: 12.03 kB / 0.7487 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.382e-05/0.6288, allocations: 9 kB / 0.7487 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.6289, allocations: 82.53 kB / 0.7488 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.6299, allocations: 131.5 kB / 0.7489 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.6307, allocations: 468.9 kB / 0.7494 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.6307, allocations: 29 kB / 0.7494 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.6308, allocations: 36 kB / 0.7494 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6319, allocations: 0.5515 MB / 0.75 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6319, allocations: 7.875 kB / 0.75 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.632, allocations: 24 kB / 0.75 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.632, allocations: 12 kB / 0.75 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008886/0.6329, allocations: 411.6 kB / 0.7504 GB, free: 9.844 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.003208/0.6361, allocations: 2.57 MB / 0.7529 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.6368, allocations: 275.3 kB / 0.7532 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.6371, allocations: 137 kB / 0.7533 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.6375, allocations: 356.4 kB / 0.7536 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.6375, allocations: 38.56 kB / 0.7537 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.6375, allocations: 0 / 0.7537 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00263/0.6401, allocations: 0.7098 MB / 0.7544 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.6402, allocations: 132.5 kB / 0.7545 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.6408, allocations: 441.9 kB / 0.7549 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.6409, allocations: 37.7 kB / 0.7549 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.6411, allocations: 284.2 kB / 0.7552 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6412, allocations: 107 kB / 0.7553 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.6414, allocations: 105.7 kB / 0.7554 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6416, allocations: 354.8 kB / 0.7558 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.642, allocations: 139.9 kB / 0.7559 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.6425, allocations: 276.1 kB / 0.7562 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/0.6435, allocations: 429.5 kB / 0.7566 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6435, allocations: 0 / 0.7566 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001317/0.6448, allocations: 0.529 MB / 0.7571 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6449, allocations: 11.94 kB / 0.7571 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6449, allocations: 448 / 0.7571 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.647, allocations: 272.5 kB / 0.7574 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.6474, allocations: 99.88 kB / 0.7575 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009888/0.6484, allocations: 0.6108 MB / 0.758 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.6488, allocations: 42.59 kB / 0.7581 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.6489, allocations: 47.98 kB / 0.7581 GB, free: 1.371 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.0003056/0.6492, allocations: 189.5 kB / 0.7583 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6493, allocations: 55.75 kB / 0.7584 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.6516, allocations: 1.024 MB / 0.7594 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6516, allocations: 4 kB / 0.7594 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6516, allocations: 0 / 0.7594 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6516, allocations: 7.922 kB / 0.7594 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.6535, allocations: 0.9558 MB / 0.7603 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6535, allocations: 4 kB / 0.7603 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.6537, allocations: 52.95 kB / 0.7604 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.6556, allocations: 264.6 kB / 0.7606 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.6556, allocations: 15.98 kB / 0.7606 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009693/0.6566, allocations: 0.5991 MB / 0.7612 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6566, allocations: 4.031 kB / 0.7612 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.658, allocations: 0.5075 MB / 0.7617 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.6582, allocations: 140.6 kB / 0.7619 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6583, allocations: 11.98 kB / 0.7619 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.6587, allocations: 16.73 kB / 0.7619 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.6588, allocations: 27.91 kB / 0.7619 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.6588, allocations: 15.98 kB / 0.7619 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005509/0.6594, allocations: 390.8 kB / 0.7623 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6594, allocations: 0 / 0.7623 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008432/0.6602, allocations: 223.6 kB / 0.7625 GB, free: 12.71 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.002275/0.6625, allocations: 1.232 MB / 0.7637 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.664, allocations: 356.4 kB / 0.7641 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.664, allocations: 0 / 0.7641 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.6647, allocations: 151.8 kB / 0.7642 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.6665, allocations: 350.2 kB / 0.7645 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.6748, allocations: 4.714 MB / 0.7691 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.6753, allocations: 0.8433 MB / 0.77 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6764, allocations: 0.5425 MB / 0.7705 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.6768, allocations: 227.3 kB / 0.7707 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6768, allocations: 0 / 0.7707 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04604/0.7229, allocations: 19.58 MB / 0.7898 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.32, allocations: 3.859 kB / 0.7898 GB, free: 0.7344 MB / 0.5919 GB " [Timeout remaining time 647] (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: 16.4757871220354] 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.479654004971962 13.494107023 12.864550721 Calling exit ...