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.001336/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00177/0.00177, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.373/1.373, allocations: 205.1 MB / 222 MB, free: 5.004 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.3259/0.3259, allocations: 39.93 MB / 309.3 MB, free: 9.223 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.001411/0.001411, allocations: 71.89 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1687, allocations: 56.87 MB / 433.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.6405/0.8093, allocations: 206.5 MB / 0.6253 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5509/1.36, allocations: 15.63 MB / 0.6406 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/1.363, allocations: 47.25 kB / 0.6406 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/1.364, allocations: 499.7 kB / 0.6411 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/1.375, allocations: 3.451 MB / 0.6444 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/1.388, allocations: 3.396 MB / 0.6478 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008296/1.396, allocations: 4.702 MB / 0.6524 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/1.399, allocations: 1.512 MB / 0.6538 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005078/1.404, allocations: 1.716 MB / 0.6555 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/1.415, allocations: 3.718 MB / 0.6591 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/1.416, allocations: 124 kB / 0.6593 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02173/1.438, allocations: 6.495 MB / 0.6656 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003041/1.441, allocations: 0.886 MB / 0.6665 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003792/1.444, allocations: 1.006 MB / 0.6674 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02413/1.469, allocations: 6.462 MB / 0.6738 GB, free: 20 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/1.469, allocations: 0 / 0.6738 GB, free: 20 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.446e-06/1.469, allocations: 4 kB / 0.6738 GB, free: 16 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001099/1.469, allocations: 0 / 0.6738 GB, free: 16 kB / 494.1 MB 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.01541/1.484, allocations: 2.712 MB / 0.6764 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.451e-05/1.484, allocations: 13.56 kB / 0.6764 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/1.489, allocations: 463.6 kB / 0.6769 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/1.491, allocations: 1.101 MB / 0.6779 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/1.491, allocations: 94.02 kB / 0.678 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.492, allocations: 111.6 kB / 0.6781 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/1.497, allocations: 2.853 MB / 0.6809 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.497, allocations: 4 kB / 0.6809 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/1.498, allocations: 53.12 kB / 0.681 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/1.498, allocations: 148 kB / 0.6811 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/1.504, allocations: 3.521 MB / 0.6846 GB, free: 12.18 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.01977/1.524, allocations: 8.676 MB / 0.693 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/1.527, allocations: 1.579 MB / 0.6946 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/1.529, allocations: 0.8085 MB / 0.6954 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.53, allocations: 1.14 MB / 0.6965 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/1.53, allocations: 47.91 kB / 0.6965 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002803/1.533, allocations: 0.6236 MB / 0.6971 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 6.582e-06/1.533, allocations: 0 / 0.6971 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01414/1.547, allocations: 4.289 MB / 0.7013 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.548, allocations: 137.2 kB / 0.7014 GB, free: 484 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/1.55, allocations: 1.68 MB / 0.7031 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/1.551, allocations: 40.58 kB / 0.7031 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/1.551, allocations: 0.6503 MB / 0.7038 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/1.551, allocations: 266.8 kB / 0.704 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005468/1.552, allocations: 272.8 kB / 0.7043 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.552, allocations: 348.9 kB / 0.7046 GB, free: 14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.554, allocations: 0.9065 MB / 0.7055 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.555, allocations: 1.096 MB / 0.7066 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/1.558, allocations: 1.948 MB / 0.7085 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.558, allocations: 3.938 kB / 0.7085 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005063/1.563, allocations: 2.744 MB / 0.7111 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/1.564, allocations: 17.91 kB / 0.7112 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.564, allocations: 8 kB / 0.7112 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/1.583, allocations: 3.44 MB / 0.7145 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.585, allocations: 191.6 kB / 0.7147 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/1.59, allocations: 2.258 MB / 0.7169 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.593, allocations: 83.81 kB / 0.717 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/1.593, allocations: 83.92 kB / 0.7171 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003045/1.596, allocations: 1.228 MB / 0.7183 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002119/1.598, allocations: 1.076 MB / 0.7193 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003654/1.602, allocations: 1.898 MB / 0.7212 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-05/1.602, allocations: 4 kB / 0.7212 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.005509/1.608, allocations: 2.363 MB / 0.7235 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.608, allocations: 8 kB / 0.7235 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.608, allocations: 14.89 kB / 0.7235 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/1.608, allocations: 168.6 kB / 0.7237 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.61, allocations: 266.4 kB / 0.7239 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/1.613, allocations: 2.175 MB / 0.7261 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.615, allocations: 83.72 kB / 0.7261 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/1.615, allocations: 83.92 kB / 0.7262 GB, free: 7.543 MB / 0.5294 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.0007056/1.616, allocations: 232 kB / 0.7264 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007694/1.617, allocations: 154.2 kB / 0.7266 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/1.622, allocations: 2.39 MB / 0.7289 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.622, allocations: 4 kB / 0.7289 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.622, allocations: 4 kB / 0.7289 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.622, allocations: 11.73 kB / 0.7289 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/1.629, allocations: 3.365 MB / 0.7322 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.629, allocations: 0 / 0.7322 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/1.629, allocations: 77.75 kB / 0.7323 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/1.64, allocations: 2.264 MB / 0.7345 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/1.64, allocations: 16 kB / 0.7345 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/1.643, allocations: 1.969 MB / 0.7364 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/1.643, allocations: 8.562 kB / 0.7365 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/1.648, allocations: 1.976 MB / 0.7384 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/1.649, allocations: 243.3 kB / 0.7386 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00067/1.649, allocations: 23.88 kB / 0.7386 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.651, allocations: 83.77 kB / 0.7387 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.652, allocations: 40.59 kB / 0.7388 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.652, allocations: 63.95 kB / 0.7388 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0026/1.654, allocations: 1.192 MB / 0.74 GB, free: 9.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/1.654, allocations: 0 / 0.74 GB, free: 9.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0091/1.664, allocations: 1.69 MB / 0.7416 GB, free: 7.637 MB / 0.545 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.009662/1.673, allocations: 1.766 MB / 0.7434 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007924/1.681, allocations: 3.116 MB / 0.7464 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.681, allocations: 4.656 kB / 0.7464 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.683, allocations: 0.7562 MB / 0.7471 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007133/1.69, allocations: 0.9418 MB / 0.7481 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007885/1.698, allocations: 3.043 MB / 0.751 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/1.7, allocations: 1.302 MB / 0.7523 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004356/1.705, allocations: 0.5853 MB / 0.7529 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/1.705, allocations: 111.4 kB / 0.753 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/1.705, allocations: 0 / 0.753 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.1075/1.813, allocations: 65.82 MB / 0.8173 GB, free: 10.44 MB / 0.6231 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (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)