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.001474/0.001474, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.5 MB, free: 4.527 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.78/1.78, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001505/0.001505, allocations: 68.61 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003277/0.2322, allocations: 1.9 MB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00464/0.2369, allocations: 3.442 MB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.2371, allocations: 3.938 kB / 0.7893 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.2374, allocations: 63.61 kB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.2379, allocations: 123.3 kB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.571e-05/0.238, allocations: 27.97 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2383, allocations: 167.3 kB / 0.7897 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2384, allocations: 25.62 kB / 0.7897 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.2386, allocations: 87.62 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2388, allocations: 71.69 kB / 0.7899 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2388, allocations: 8 kB / 0.7899 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.2389, allocations: 35.91 kB / 0.7899 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.239, allocations: 39.84 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.2391, allocations: 75.47 kB / 0.79 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2393, allocations: 171.2 kB / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2393, allocations: 0 / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2393, allocations: 0 / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2393, allocations: 0 / 0.7902 GB, free: 6.488 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.0008273/0.2401, allocations: 0.4984 MB / 0.7907 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2402, allocations: 12.03 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.2403, allocations: 20.66 kB / 0.7907 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2406, allocations: 246.7 kB / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2406, allocations: 4.375 kB / 0.791 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.2407, allocations: 4.375 kB / 0.791 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.241, allocations: 142.6 kB / 0.7911 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.241, allocations: 4 kB / 0.7911 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.241, allocations: 4 kB / 0.7911 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.2411, allocations: 11.98 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.2415, allocations: 131.9 kB / 0.7912 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.2421, allocations: 440.5 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.2425, allocations: 158.5 kB / 0.7918 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.2428, allocations: 112.8 kB / 0.7919 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2428, allocations: 0 / 0.7919 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2428, allocations: 34.56 kB / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.2428, allocations: 0 / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007735/0.2436, allocations: 289.6 kB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2437, allocations: 51.41 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2439, allocations: 205 kB / 0.7925 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2439, allocations: 33.7 kB / 0.7925 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.244, allocations: 116.1 kB / 0.7926 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.244, allocations: 43.36 kB / 0.7927 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.2441, allocations: 33.7 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2442, allocations: 334.8 kB / 0.793 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2444, allocations: 71.94 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2446, allocations: 67.94 kB / 0.7931 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.245, allocations: 163.7 kB / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.245, allocations: 0 / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005161/0.2456, allocations: 213.3 kB / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2456, allocations: 4 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2456, allocations: 3.938 kB / 0.7935 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2456, allocations: 0 / 0.7935 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2459, allocations: 39.95 kB / 0.7935 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2459, allocations: 0 / 0.7935 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.246, allocations: 15.89 kB / 0.7936 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.246, allocations: 11.94 kB / 0.7936 GB, free: 2.809 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.0001145/0.2462, allocations: 134.4 kB / 0.7937 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2462, allocations: 15.81 kB / 0.7937 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.2463, allocations: 29.83 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2463, allocations: 0 / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2463, allocations: 0 / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2463, allocations: 0 / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2466, allocations: 273.3 kB / 0.794 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2466, allocations: 0 / 0.794 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2468, allocations: 35.97 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2468, allocations: 0 / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2468, allocations: 0 / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.2468, allocations: 7.984 kB / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2468, allocations: 0 / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.2474, allocations: 311.1 kB / 0.7943 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2475, allocations: 104.8 kB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.2475, allocations: 4 kB / 0.7944 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2477, allocations: 15.97 kB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2478, allocations: 7.984 kB / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2478, allocations: 8 kB / 0.7945 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001316/0.2479, allocations: 156.5 kB / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2479, allocations: 0 / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002808/0.2482, allocations: 51.86 kB / 0.7947 GB, free: 1.582 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.0001615/0.2484, allocations: 99.25 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.2489, allocations: 171.2 kB / 0.7949 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2489, allocations: 0 / 0.7949 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.2492, allocations: 95.88 kB / 0.795 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2496, allocations: 33.73 kB / 0.7951 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.2504, allocations: 410.1 kB / 0.7954 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2507, allocations: 0.7274 MB / 0.7962 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.2509, allocations: 60.36 kB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.251, allocations: 15.44 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.251, allocations: 0 / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.004277/0.2553, allocations: 1.698 MB / 0.7979 GB, free: 14.25 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)