Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0019/0.0019, allocations: 171.9 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3878/0.3878, allocations: 40 MB / 310.7 MB, free: 9.41 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.2. 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.0008114/0.0008114, allocations: 12 kB / 379.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1678, allocations: 57.96 MB / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.6026/0.7704, allocations: 203.7 MB / 0.6261 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.522/1.292, allocations: 15.41 MB / 0.6411 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/1.295, allocations: 39.16 kB / 0.6412 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/1.296, allocations: 496.8 kB / 0.6416 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/1.308, allocations: 3.447 MB / 0.645 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0132/1.321, allocations: 3.396 MB / 0.6483 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007048/1.328, allocations: 4.699 MB / 0.6529 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/1.331, allocations: 1.504 MB / 0.6544 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/1.335, allocations: 1.711 MB / 0.656 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009374/1.345, allocations: 3.702 MB / 0.6597 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.346, allocations: 120.8 kB / 0.6598 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02133/1.367, allocations: 6.49 MB / 0.6661 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003084/1.37, allocations: 0.8843 MB / 0.667 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004746/1.375, allocations: 1.022 MB / 0.668 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03044/1.406, allocations: 6.418 MB / 0.6742 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/1.406, allocations: 1.719 kB / 0.6742 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.406, allocations: 0 / 0.6742 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001416/1.406, allocations: 0 / 0.6742 GB, free: 15.66 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01979/1.426, allocations: 2.279 MB / 0.6765 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/1.426, allocations: 16.42 kB / 0.6765 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/1.432, allocations: 479.6 kB / 0.6769 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/1.437, allocations: 1.111 MB / 0.678 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.437, allocations: 87.02 kB / 0.6781 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/1.438, allocations: 112.4 kB / 0.6782 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/1.446, allocations: 2.864 MB / 0.681 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/1.446, allocations: 0 / 0.681 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/1.446, allocations: 53.14 kB / 0.6811 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/1.446, allocations: 146.6 kB / 0.6812 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00904/1.456, allocations: 3.535 MB / 0.6847 GB, free: 11.96 MB / 0.4981 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.02339/1.479, allocations: 8.704 MB / 0.6932 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/1.483, allocations: 1.573 MB / 0.6947 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/1.484, allocations: 0.8194 MB / 0.6955 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/1.486, allocations: 1.138 MB / 0.6966 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.701e-05/1.486, allocations: 54.56 kB / 0.6966 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003095/1.489, allocations: 0.6278 MB / 0.6973 GB, free: 6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 1.528e-05/1.49, allocations: 0 / 0.6973 GB, free: 6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01637/1.506, allocations: 4.358 MB / 0.7015 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.506, allocations: 144.9 kB / 0.7017 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/1.51, allocations: 1.679 MB / 0.7033 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003194/1.51, allocations: 44.89 kB / 0.7033 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/1.511, allocations: 0.6464 MB / 0.704 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/1.512, allocations: 263.8 kB / 0.7042 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/1.512, allocations: 85.55 kB / 0.7043 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.512, allocations: 346.5 kB / 0.7046 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.514, allocations: 0.9053 MB / 0.7055 GB, free: 236 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/1.516, allocations: 1.1 MB / 0.7066 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/1.519, allocations: 1.963 MB / 0.7085 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.519, allocations: 4 kB / 0.7085 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005245/1.525, allocations: 2.753 MB / 0.7112 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/1.525, allocations: 234.5 kB / 0.7114 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.525, allocations: 16 kB / 0.7114 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02007/1.545, allocations: 3.658 MB / 0.715 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.547, allocations: 192.6 kB / 0.7152 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.551, allocations: 2.261 MB / 0.7174 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.554, allocations: 91.75 kB / 0.7175 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/1.554, allocations: 80.72 kB / 0.7176 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.554, allocations: 2.906 kB / 0.7176 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005051/1.56, allocations: 2.211 MB / 0.7197 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.56, allocations: 4 kB / 0.7197 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007576/1.56, allocations: 175.7 kB / 0.7199 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.562, allocations: 267.4 kB / 0.7202 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/1.565, allocations: 2.208 MB / 0.7223 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.568, allocations: 79.78 kB / 0.7224 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/1.568, allocations: 79.94 kB / 0.7225 GB, free: 0.5508 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (88): * Single equations (assignments): 87 * 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 {(3,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001735/1.57, allocations: 0.5015 MB / 0.723 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.571, allocations: 162 kB / 0.7231 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005482/1.576, allocations: 2.396 MB / 0.7255 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.576, allocations: 8 kB / 0.7255 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.576, allocations: 7.922 kB / 0.7255 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.576, allocations: 2.906 kB / 0.7255 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/1.583, allocations: 3.386 MB / 0.7288 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.583, allocations: 8.031 kB / 0.7288 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/1.584, allocations: 74.84 kB / 0.7289 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/1.595, allocations: 2.476 MB / 0.7313 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/1.595, allocations: 19.98 kB / 0.7313 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/1.598, allocations: 1.969 MB / 0.7332 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.598, allocations: 8 kB / 0.7332 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/1.603, allocations: 1.984 MB / 0.7352 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.604, allocations: 271.2 kB / 0.7354 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008343/1.605, allocations: 12 kB / 0.7354 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/1.607, allocations: 91.7 kB / 0.7355 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.607, allocations: 48.59 kB / 0.7356 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/1.607, allocations: 65.81 kB / 0.7356 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002339/1.61, allocations: 1.195 MB / 0.7368 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.61, allocations: 0 / 0.7368 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009346/1.619, allocations: 1.682 MB / 0.7384 GB, free: 72 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 36 * 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 {(3,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/1.629, allocations: 1.766 MB / 0.7402 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007587/1.637, allocations: 3.159 MB / 0.7432 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.637, allocations: 4.656 kB / 0.7432 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.639, allocations: 0.7688 MB / 0.744 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.00693/1.646, allocations: 0.9316 MB / 0.7449 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/1.653, allocations: 3.091 MB / 0.7479 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.654, allocations: 1.298 MB / 0.7492 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003869/1.658, allocations: 0.5946 MB / 0.7498 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/1.659, allocations: 115.4 kB / 0.7499 GB, free: 4.445 MB / 0.545 GB Notification: Performance of SimCode: time 1.964e-06/1.659, allocations: 0 / 0.7499 GB, free: 4.445 MB / 0.545 GB Notification: Performance of Templates: time 0.1217/1.78, allocations: 65.26 MB / 0.8136 GB, free: 3.34 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) Environment - environmentSimulation: