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.001454/0.001454, allocations: 197.4 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 226.5 MB / 243.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008216/0.0008215, allocations: 101 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2962/0.2962, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002844, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 62.96 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.07528/0.3664, allocations: 86.85 MB / 0.6007 GB, free: 2.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03038/0.3969, allocations: 20.57 MB / 0.6208 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.4002, allocations: 107.1 kB / 0.6209 GB, free: 13.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.4032, allocations: 0.7687 MB / 0.6216 GB, free: 12.98 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.4141, allocations: 3.651 MB / 0.6252 GB, free: 9.312 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.4255, allocations: 4.475 MB / 0.6296 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.4361, allocations: 8.771 MB / 0.6381 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.4396, allocations: 1.569 MB / 0.6397 GB, free: 10.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4368/0.8764, allocations: 125.9 MB / 0.7626 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.08243/0.9589, allocations: 55.15 MB / 0.8165 GB, free: 288 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0008585/0.9598, allocations: 124 kB / 0.8166 GB, free: 164 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.9742, allocations: 8.244 MB / 0.8246 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.9757, allocations: 0.9624 MB / 0.8256 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.9776, allocations: 1.333 MB / 0.8269 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.9829, allocations: 3.951 MB / 0.8307 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9829, allocations: 0 / 0.8307 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9829, allocations: 0 / 0.8307 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.379e-05/0.983, allocations: 0 / 0.8307 GB, free: 4.555 MB / 0.5417 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.007121/0.9901, allocations: 2.994 MB / 0.8337 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9901, allocations: 10.11 kB / 0.8337 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.9911, allocations: 312.5 kB / 0.834 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.9936, allocations: 1.574 MB / 0.8355 GB, free: 244 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.9938, allocations: 222 kB / 0.8357 GB, free: 80 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.9941, allocations: 195.8 kB / 0.8359 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/0.9988, allocations: 3.281 MB / 0.8391 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.9988, allocations: 4 kB / 0.8391 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.9991, allocations: 83.17 kB / 0.8392 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.9994, allocations: 257.7 kB / 0.8394 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/1.004, allocations: 3.099 MB / 0.8425 GB, free: 11.24 MB / 0.5573 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.01716/1.021, allocations: 13.83 MB / 0.856 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/1.025, allocations: 2.219 MB / 0.8581 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.027, allocations: 1.352 MB / 0.8594 GB, free: 12.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007833/1.035, allocations: 5.893 MB / 0.8652 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.035, allocations: 54.19 kB / 0.8653 GB, free: 7.516 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007169/1.035, allocations: 184.9 kB / 0.8654 GB, free: 7.363 MB / 0.573 GB Notification: Performance of pre-optimization done (n=171): time 3.637e-06/1.035, allocations: 0 / 0.8654 GB, free: 7.363 MB / 0.573 GB Notification: Performance of matching and sorting (n=197): time 0.02844/1.064, allocations: 10.82 MB / 0.876 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.064, allocations: 77.39 kB / 0.8761 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/1.066, allocations: 1.831 MB / 0.8779 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002443/1.067, allocations: 59.95 kB / 0.8779 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/1.067, allocations: 1.063 MB / 0.879 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/1.068, allocations: 0.6721 MB / 0.8796 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.068, allocations: 46 kB / 0.8797 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.068, allocations: 399.8 kB / 0.88 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.07, allocations: 1.195 MB / 0.8812 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/1.072, allocations: 1.776 MB / 0.8829 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/1.076, allocations: 3.106 MB / 0.886 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.076, allocations: 4 kB / 0.886 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006974/1.083, allocations: 3.949 MB / 0.8898 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003637/1.084, allocations: 0.6013 MB / 0.8904 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/1.084, allocations: 16 kB / 0.8904 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/1.088, allocations: 1.233 MB / 0.8916 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.09, allocations: 481.4 kB / 0.8921 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2124/1.302, allocations: 10.5 MB / 0.9024 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.305, allocations: 192.5 kB / 0.9025 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/1.305, allocations: 111.5 kB / 0.9026 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/1.305, allocations: 8.719 kB / 0.9027 GB, free: 236.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005593/1.311, allocations: 3.555 MB / 0.9061 GB, free: 235.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/1.311, allocations: 17.09 kB / 0.9061 GB, free: 235.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/1.313, allocations: 0.8658 MB / 0.907 GB, free: 234.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/1.315, allocations: 0.4985 MB / 0.9075 GB, free: 234.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/1.322, allocations: 10.22 MB / 0.9175 GB, free: 225.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.324, allocations: 186.7 kB / 0.9176 GB, free: 225.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.324, allocations: 109.2 kB / 0.9177 GB, free: 225.8 MB / 0.5886 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.001284/1.326, allocations: 0.7137 MB / 0.9184 GB, free: 225.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/1.326, allocations: 231.6 kB / 0.9187 GB, free: 225.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006561/1.333, allocations: 3.97 MB / 0.9225 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/1.333, allocations: 23.47 kB / 0.9226 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.333, allocations: 2.562 kB / 0.9226 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004989/1.338, allocations: 3.38 MB / 0.9259 GB, free: 222.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.349, allocations: 6.307 MB / 0.932 GB, free: 220 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.349, allocations: 1.984 kB / 0.932 GB, free: 220 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.35, allocations: 319.4 kB / 0.9323 GB, free: 220 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004366/1.355, allocations: 1.231 MB / 0.9335 GB, free: 219.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/1.355, allocations: 74.03 kB / 0.9336 GB, free: 219.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/1.363, allocations: 10.46 MB / 0.9438 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.363, allocations: 0 / 0.9438 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008588/1.372, allocations: 5.194 MB / 0.9489 GB, free: 208.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.373, allocations: 0.6024 MB / 0.9495 GB, free: 208.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/1.373, allocations: 51.27 kB / 0.9495 GB, free: 208.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.375, allocations: 148.4 kB / 0.9497 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/1.375, allocations: 169.7 kB / 0.9498 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.375, allocations: 77.62 kB / 0.9499 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001538/1.377, allocations: 1.24 MB / 0.9511 GB, free: 207.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/1.377, allocations: 7.656 kB / 0.9511 GB, free: 207.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004579/1.381, allocations: 1.792 MB / 0.9529 GB, free: 207.6 MB / 0.5886 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.002197/1.384, allocations: 1.016 MB / 0.9539 GB, free: 207.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008999/1.393, allocations: 6.046 MB / 0.9598 GB, free: 204 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.393, allocations: 0 / 0.9598 GB, free: 204 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/1.396, allocations: 2.237 MB / 0.9619 GB, free: 201.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/1.401, allocations: 0.9842 MB / 0.9629 GB, free: 200.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/1.409, allocations: 6.686 MB / 0.9694 GB, free: 194.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.41, allocations: 1.859 MB / 0.9713 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/1.411, allocations: 231.2 kB / 0.9715 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/1.411, allocations: 0 / 0.9715 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.09453/1.505, allocations: 124.3 MB / 1.093 GB, free: 67.87 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)