Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000933/0.000933, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007635/0.0007635, allocations: 95.03 kB / 295.1 MB, free: 4.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.177/0.177, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002334, allocations: 11.98 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08189, allocations: 62.96 MB / 0.5153 GB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.2584/0.3404, allocations: 86.65 MB / 0.5999 GB, free: 9.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02734/0.3677, allocations: 20.56 MB / 0.62 GB, free: 9.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.3705, allocations: 107.1 kB / 0.6201 GB, free: 8.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.3731, allocations: 0.7687 MB / 0.6209 GB, free: 8.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0085/0.3816, allocations: 3.448 MB / 0.6242 GB, free: 4.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00989/0.3915, allocations: 4.447 MB / 0.6286 GB, free: 292 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009119/0.4006, allocations: 8.765 MB / 0.6371 GB, free: 7.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.4035, allocations: 1.516 MB / 0.6386 GB, free: 5.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3784/0.7819, allocations: 125.9 MB / 0.7616 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0559/0.8378, allocations: 55.04 MB / 0.8154 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.839, allocations: 124 kB / 0.8155 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.8509, allocations: 7.976 MB / 0.8233 GB, free: 76.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.8528, allocations: 0.9586 MB / 0.8242 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.8541, allocations: 0.5336 MB / 0.8247 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005647/0.8598, allocations: 3.854 MB / 0.8285 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8598, allocations: 0 / 0.8285 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8598, allocations: 0 / 0.8285 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001192/0.8599, allocations: 0 / 0.8285 GB, free: 72.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.006535/0.8665, allocations: 3.024 MB / 0.8314 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8665, allocations: 8.031 kB / 0.8314 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/0.8675, allocations: 312.5 kB / 0.8317 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.8699, allocations: 1.518 MB / 0.8332 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.8701, allocations: 215.8 kB / 0.8334 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.8703, allocations: 191.5 kB / 0.8336 GB, free: 68.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.8744, allocations: 3.28 MB / 0.8368 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.8745, allocations: 12.61 kB / 0.8368 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.8747, allocations: 83.16 kB / 0.8369 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.875, allocations: 252.4 kB / 0.8372 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004138/0.8791, allocations: 3.109 MB / 0.8402 GB, free: 63.34 MB / 0.5261 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.01411/0.8932, allocations: 13.83 MB / 0.8537 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.8964, allocations: 2.208 MB / 0.8559 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.898, allocations: 1.355 MB / 0.8572 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/0.9047, allocations: 5.878 MB / 0.8629 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.9047, allocations: 58.47 kB / 0.863 GB, free: 43.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007382/0.9055, allocations: 182.7 kB / 0.8631 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 3.898e-06/0.9055, allocations: 0 / 0.8631 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.02643/0.9319, allocations: 10.9 MB / 0.8738 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.932, allocations: 78.78 kB / 0.8739 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.934, allocations: 1.827 MB / 0.8757 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.9342, allocations: 61.52 kB / 0.8757 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.9347, allocations: 1.06 MB / 0.8767 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.9351, allocations: 0.6797 MB / 0.8774 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.9353, allocations: 43.81 kB / 0.8775 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9354, allocations: 406.5 kB / 0.8778 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.937, allocations: 1.197 MB / 0.879 GB, free: 30.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.9387, allocations: 1.776 MB / 0.8807 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.9405, allocations: 1.45 MB / 0.8822 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.9405, allocations: 4 kB / 0.8822 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006119/0.9466, allocations: 3.947 MB / 0.886 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.9469, allocations: 0.6033 MB / 0.8866 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.9469, allocations: 16 kB / 0.8866 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004132/0.9511, allocations: 1.233 MB / 0.8878 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.953, allocations: 478.5 kB / 0.8883 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.9602, allocations: 10.51 MB / 0.8985 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.9628, allocations: 187.6 kB / 0.8987 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.9631, allocations: 116 kB / 0.8988 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.9632, allocations: 4 kB / 0.8988 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005437/0.9686, allocations: 3.551 MB / 0.9023 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.9687, allocations: 24.03 kB / 0.9023 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.9708, allocations: 0.8636 MB / 0.9032 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.9727, allocations: 0.4994 MB / 0.9037 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.9796, allocations: 10.22 MB / 0.9136 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.9819, allocations: 171.8 kB / 0.9138 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.9822, allocations: 116 kB / 0.9139 GB, free: 12.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 246 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.9835, allocations: 0.7088 MB / 0.9146 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.9839, allocations: 229.2 kB / 0.9148 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/0.9909, allocations: 3.983 MB / 0.9187 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.9909, allocations: 23.98 kB / 0.9187 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9909, allocations: 4 kB / 0.9187 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005251/0.9962, allocations: 3.377 MB / 0.922 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009789/1.006, allocations: 6.3 MB / 0.9282 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/1.006, allocations: 0 / 0.9282 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.007, allocations: 322.2 kB / 0.9285 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004117/1.011, allocations: 1.234 MB / 0.9297 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.012, allocations: 71.95 kB / 0.9298 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008705/1.02, allocations: 10.46 MB / 0.94 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.02, allocations: 3.953 kB / 0.94 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008121/1.029, allocations: 5.176 MB / 0.945 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.03, allocations: 0.6071 MB / 0.9456 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/1.03, allocations: 51.98 kB / 0.9457 GB, free: 11.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.032, allocations: 147.7 kB / 0.9458 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.032, allocations: 169.1 kB / 0.946 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.032, allocations: 87.95 kB / 0.9461 GB, free: 10.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001575/1.034, allocations: 1.237 MB / 0.9473 GB, free: 9.512 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.034, allocations: 0 / 0.9473 GB, free: 9.512 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004189/1.038, allocations: 1.788 MB / 0.949 GB, free: 7.723 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00185/1.04, allocations: 0.9976 MB / 0.95 GB, free: 6.816 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009703/1.049, allocations: 6.04 MB / 0.9559 GB, free: 0.7773 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.049, allocations: 0 / 0.9559 GB, free: 0.7773 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.053, allocations: 2.237 MB / 0.9581 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/1.058, allocations: 1.014 MB / 0.9591 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/1.067, allocations: 6.683 MB / 0.9656 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.068, allocations: 1.864 MB / 0.9674 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/1.069, allocations: 223.4 kB / 0.9676 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of SimCode: time 9.01e-07/1.069, allocations: 0 / 0.9676 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of Templates: time 0.2881/1.357, allocations: 124.2 MB / 1.089 GB, free: 144.5 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)