Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 173.6 kB / 16.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06443/0.06443, allocations: 8.769 MB / 25.64 MB, free: 3.125 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 233.9 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008469, allocations: 94.8 kB / 284.4 MB, free: 14.24 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 15.98 kB / 344.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.303, allocations: 49.71 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4165, allocations: 76.86 MB / 471.4 MB, free: 7.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4168, allocations: 63.97 kB / 471.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004329/0.4211, allocations: 1.705 MB / 473.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4212, allocations: 3.938 kB / 473.1 MB, free: 6.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4212, allocations: 4 kB / 473.1 MB, free: 6.008 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004144/0.4216, allocations: 375.3 kB / 473.5 MB, free: 5.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4216, allocations: 8.031 kB / 473.5 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.4217, allocations: 12.84 kB / 473.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4218, allocations: 168.3 kB / 473.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4219, allocations: 12.31 kB / 473.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.4219, allocations: 12.28 kB / 473.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.4221, allocations: 98.16 kB / 473.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4221, allocations: 4.188 kB / 473.8 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4222, allocations: 3.938 kB / 473.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4222, allocations: 4 kB / 473.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4223, allocations: 55.97 kB / 473.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.423, allocations: 0.5013 MB / 474.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4233, allocations: 82.48 kB / 474.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.4234, allocations: 40.84 kB / 474.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.4234, allocations: 0 / 474.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4234, allocations: 30.56 kB / 474.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.4234, allocations: 4 kB / 474.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005502/0.424, allocations: 227.5 kB / 474.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.424, allocations: 51.41 kB / 474.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4242, allocations: 113.8 kB / 474.9 MB, free: 3.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4242, allocations: 29.7 kB / 475 MB, free: 3.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.4243, allocations: 111.9 kB / 475.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.4243, allocations: 27.64 kB / 475.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.4243, allocations: 0 / 475.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4244, allocations: 318.8 kB / 475.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.4245, allocations: 12 kB / 475.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.4245, allocations: 33.7 kB / 475.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.784e-05/0.4246, allocations: 62.16 kB / 475.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4246, allocations: 4 kB / 475.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.4248, allocations: 114.3 kB / 475.6 MB, free: 3.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4249, allocations: 4 kB / 475.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4249, allocations: 0 / 475.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.4251, allocations: 36.72 kB / 475.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.4252, allocations: 19.98 kB / 475.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4262, allocations: 1.32 MB / 477 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.4263, allocations: 7.938 kB / 477 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4263, allocations: 4 kB / 477 MB, free: 1.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4264, allocations: 129.9 kB / 477.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.4264, allocations: 7.906 kB / 477.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.4265, allocations: 8.516 kB / 477.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4265, allocations: 7.922 kB / 477.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4265, allocations: 4 kB / 477.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4265, allocations: 0 / 477.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.4267, allocations: 197.6 kB / 477.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4267, allocations: 0 / 477.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.4268, allocations: 16 kB / 477.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/0.4269, allocations: 24.84 kB / 477.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.4269, allocations: 3.938 kB / 477.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009793/0.4279, allocations: 1.323 MB / 478.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4279, allocations: 0 / 478.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.4282, allocations: 228.1 kB / 478.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.4283, allocations: 85.05 kB / 479 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4283, allocations: 4 kB / 479 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.4283, allocations: 4.125 kB / 479 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.4284, allocations: 11.98 kB / 479 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4284, allocations: 4 kB / 479.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.4284, allocations: 95.25 kB / 479.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4285, allocations: 0 / 479.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.4287, allocations: 28 kB / 479.2 MB, free: 15.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.4289, allocations: 99.17 kB / 479.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.4292, allocations: 182.6 kB / 479.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4292, allocations: 0 / 479.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.4294, allocations: 146.6 kB / 479.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.4297, allocations: 27.94 kB / 479.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.4303, allocations: 344.8 kB / 480 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4306, allocations: 0.6965 MB / 480.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.4306, allocations: 4.672 kB / 480.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.4307, allocations: 11.44 kB / 480.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4307, allocations: 4 kB / 480.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003556/0.4342, allocations: 1.037 MB / 481.7 MB, free: 12.7 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)