Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002182/0.002182, allocations: 195.3 kB / 16.26 MB, free: 6.617 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.619/1.619, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 72.31 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2342, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003547/0.2378, allocations: 1.959 MB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.2419, allocations: 3.414 MB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2421, allocations: 4 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2424, allocations: 43.75 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.2429, allocations: 115.4 kB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.286e-05/0.243, allocations: 23.98 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.2433, allocations: 171.2 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2434, allocations: 29.67 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2436, allocations: 83.62 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2438, allocations: 75.62 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2438, allocations: 8 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.2439, allocations: 31.97 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.244, allocations: 35.84 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.244, allocations: 79.48 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2443, allocations: 163.3 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2443, allocations: 4 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2443, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2443, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008543/0.2451, allocations: 0.4906 MB / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2452, allocations: 8.031 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.2452, allocations: 20.66 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2456, allocations: 250.8 kB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2456, allocations: 4.375 kB / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2456, allocations: 4.375 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.246, allocations: 145.6 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.246, allocations: 3.938 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.246, allocations: 0 / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.246, allocations: 8 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.2465, allocations: 139.9 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.2471, allocations: 448.5 kB / 0.7904 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.2475, allocations: 158.5 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.2477, allocations: 96.8 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.2478, allocations: 4 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2478, allocations: 38.53 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2478, allocations: 3.938 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007753/0.2486, allocations: 292.5 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2486, allocations: 51.41 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2488, allocations: 209 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2489, allocations: 29.7 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.2489, allocations: 120.1 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.249, allocations: 43.36 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.249, allocations: 29.7 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2492, allocations: 334.8 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2494, allocations: 71.94 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.2496, allocations: 71.92 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.25, allocations: 156.8 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.25, allocations: 0 / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004832/0.2505, allocations: 212.3 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2505, allocations: 12 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2505, allocations: 0 / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2506, allocations: 0 / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2508, allocations: 31.97 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2508, allocations: 0 / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2509, allocations: 15.89 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.251, allocations: 7.984 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2511, allocations: 142.4 kB / 0.7924 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.2511, allocations: 19.8 kB / 0.7925 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.2512, allocations: 21.84 kB / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2512, allocations: 4 kB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2512, allocations: 0 / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2512, allocations: 3.984 kB / 0.7925 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2515, allocations: 265.3 kB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2515, allocations: 4 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2517, allocations: 35.95 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2517, allocations: 4 kB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2517, allocations: 4 kB / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2517, allocations: 0 / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2518, allocations: 0 / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.2523, allocations: 315.1 kB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.2524, allocations: 112.8 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.2524, allocations: 4 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.2526, allocations: 11.98 kB / 0.7932 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.2527, allocations: 11.98 kB / 0.7932 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2527, allocations: 4 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001306/0.2528, allocations: 156.5 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2528, allocations: 0 / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00027/0.2531, allocations: 47.81 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.2533, allocations: 103.2 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.2538, allocations: 183.8 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2538, allocations: 0 / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.254, allocations: 91.86 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2544, allocations: 24.66 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.2552, allocations: 473.8 kB / 0.7942 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2555, allocations: 0.7236 MB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.2556, allocations: 48.58 kB / 0.795 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.2557, allocations: 19.42 kB / 0.795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2557, allocations: 4 kB / 0.795 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.004098/0.2598, allocations: 1.596 MB / 0.7966 GB, free: 15.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)