Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007415/0.0007416, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000806/0.0008061, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2874/0.2874, allocations: 38.04 MB / 308.4 MB, free: 10.43 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 16 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09935, allocations: 57.51 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3299/0.4292, allocations: 173 MB / 0.5928 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.4331, allocations: 2.088 MB / 0.5948 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.4336, allocations: 19.81 kB / 0.5948 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.4343, allocations: 230.5 kB / 0.595 GB, free: 9.137 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003326/0.4376, allocations: 1.2 MB / 0.5962 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.4392, allocations: 0.5298 MB / 0.5967 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.441, allocations: 1.683 MB / 0.5984 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.4415, allocations: 342.9 kB / 0.5987 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.4423, allocations: 0.4941 MB / 0.5992 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.4428, allocations: 434.2 kB / 0.5996 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.4429, allocations: 24 kB / 0.5996 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.4444, allocations: 0.7878 MB / 0.6004 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.4446, allocations: 119.5 kB / 0.6005 GB, free: 3.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4447, allocations: 145.4 kB / 0.6006 GB, free: 3.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4458, allocations: 0.9235 MB / 0.6015 GB, free: 2.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4458, allocations: 0 / 0.6015 GB, free: 2.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4458, allocations: 4 kB / 0.6015 GB, free: 2.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4458, allocations: 0 / 0.6015 GB, free: 2.469 MB / 462.1 MB 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.001417/0.4472, allocations: 0.8919 MB / 0.6024 GB, free: 1.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4473, allocations: 12.03 kB / 0.6024 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008758/0.4481, allocations: 143.1 kB / 0.6026 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.4487, allocations: 444.8 kB / 0.603 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.4487, allocations: 29 kB / 0.603 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.4488, allocations: 40 kB / 0.603 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.4497, allocations: 0.5516 MB / 0.6036 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4497, allocations: 0 / 0.6036 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.4498, allocations: 24 kB / 0.6036 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4498, allocations: 8 kB / 0.6036 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.4505, allocations: 415.7 kB / 0.604 GB, free: 15.8 MB / 478.1 MB 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.002536/0.4531, allocations: 2.584 MB / 0.6065 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.4536, allocations: 294.8 kB / 0.6068 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.4539, allocations: 152.5 kB / 0.607 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.455, allocations: 1.228 MB / 0.6082 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.455, allocations: 42.55 kB / 0.6082 GB, free: 11.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.455, allocations: 3.938 kB / 0.6082 GB, free: 11.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002119/0.4572, allocations: 0.7133 MB / 0.6089 GB, free: 10.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4572, allocations: 136.5 kB / 0.609 GB, free: 10.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.4577, allocations: 449.8 kB / 0.6095 GB, free: 9.727 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.4578, allocations: 33.7 kB / 0.6095 GB, free: 9.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.458, allocations: 271.8 kB / 0.6098 GB, free: 9.418 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.4581, allocations: 98.56 kB / 0.6098 GB, free: 9.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4581, allocations: 4 kB / 0.6098 GB, free: 9.316 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4582, allocations: 358.8 kB / 0.6102 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.4586, allocations: 147.8 kB / 0.6103 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.459, allocations: 284 kB / 0.6106 GB, free: 8.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4594, allocations: 183.9 kB / 0.6108 GB, free: 8.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4594, allocations: 0 / 0.6108 GB, free: 8.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001077/0.4605, allocations: 0.5258 MB / 0.6113 GB, free: 7.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4605, allocations: 4.438 kB / 0.6113 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4605, allocations: 4.047 kB / 0.6113 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.4624, allocations: 332.4 kB / 0.6116 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.4627, allocations: 103.8 kB / 0.6117 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000789/0.4635, allocations: 0.5991 MB / 0.6123 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.464, allocations: 65.44 kB / 0.6124 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.464, allocations: 51.97 kB / 0.6124 GB, free: 6.59 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.4643, allocations: 186.6 kB / 0.6126 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.4644, allocations: 51.39 kB / 0.6126 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.466, allocations: 0.6757 MB / 0.6133 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.466, allocations: 0 / 0.6133 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.466, allocations: 0 / 0.6133 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.466, allocations: 4 kB / 0.6133 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.4675, allocations: 0.9713 MB / 0.6143 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4675, allocations: 7.984 kB / 0.6143 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.4678, allocations: 56.06 kB / 0.6143 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.4696, allocations: 336.4 kB / 0.6146 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.4697, allocations: 11.98 kB / 0.6146 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007831/0.4704, allocations: 0.6031 MB / 0.6152 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4705, allocations: 7.969 kB / 0.6152 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4716, allocations: 0.5115 MB / 0.6157 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.4717, allocations: 148.5 kB / 0.6159 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.4718, allocations: 11.94 kB / 0.6159 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4722, allocations: 39.91 kB / 0.6159 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.4723, allocations: 27.91 kB / 0.616 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.4723, allocations: 23.97 kB / 0.616 GB, free: 2.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.4727, allocations: 346.9 kB / 0.6163 GB, free: 2.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4727, allocations: 0 / 0.6163 GB, free: 2.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007526/0.4735, allocations: 263.7 kB / 0.6166 GB, free: 2.152 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007364/0.4742, allocations: 376.1 kB / 0.6169 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4754, allocations: 375.5 kB / 0.6173 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4754, allocations: 4.875 kB / 0.6173 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.4761, allocations: 164.1 kB / 0.6174 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.4773, allocations: 279.3 kB / 0.6177 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4792, allocations: 1.056 MB / 0.6187 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4796, allocations: 0.8512 MB / 0.6196 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000762/0.4803, allocations: 176.2 kB / 0.6197 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.4806, allocations: 71.41 kB / 0.6198 GB, free: 14.77 MB / 494.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4806, allocations: 0 / 0.6198 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Templates: time 0.01999/0.5006, allocations: 12.96 MB / 0.6325 GB, free: 1.848 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: