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.001095/0.001095, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009723/0.009723, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.754/1.754, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.845/1.845, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005469/0.0005472, allocations: 14.19 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2482, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002426/0.2507, allocations: 1.616 MB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004475/0.2552, allocations: 3.375 MB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2553, allocations: 3.938 kB / 0.7928 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.2556, allocations: 43.8 kB / 0.7928 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.2561, allocations: 119.4 kB / 0.7929 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.257e-05/0.2562, allocations: 23.95 kB / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2565, allocations: 175.2 kB / 0.7931 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2566, allocations: 29.66 kB / 0.7931 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.2568, allocations: 67.66 kB / 0.7932 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.257, allocations: 75.67 kB / 0.7933 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.257, allocations: 4 kB / 0.7933 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.2571, allocations: 27.92 kB / 0.7933 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.2572, allocations: 35.84 kB / 0.7933 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2573, allocations: 97.23 kB / 0.7934 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2575, allocations: 159.2 kB / 0.7936 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2576, allocations: 0 / 0.7936 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2576, allocations: 0 / 0.7936 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2576, allocations: 4 kB / 0.7936 GB, free: 5.695 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.000881/0.2585, allocations: 498.5 kB / 0.7941 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2585, allocations: 8.031 kB / 0.7941 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.2586, allocations: 16.75 kB / 0.7941 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.259, allocations: 242.8 kB / 0.7943 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.259, allocations: 12.36 kB / 0.7943 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.259, allocations: 4.375 kB / 0.7943 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.2594, allocations: 145.7 kB / 0.7945 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2594, allocations: 0 / 0.7945 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2595, allocations: 0 / 0.7945 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.2595, allocations: 19.92 kB / 0.7945 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.2599, allocations: 151.9 kB / 0.7946 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.2607, allocations: 444.6 kB / 0.7951 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.2611, allocations: 174.4 kB / 0.7952 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.2614, allocations: 112.8 kB / 0.7953 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2614, allocations: 0 / 0.7953 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2614, allocations: 30.56 kB / 0.7954 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2614, allocations: 0 / 0.7954 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008341/0.2623, allocations: 315.2 kB / 0.7957 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2623, allocations: 59.34 kB / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.2625, allocations: 209 kB / 0.7959 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2626, allocations: 25.7 kB / 0.7959 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.2626, allocations: 120.1 kB / 0.796 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.2627, allocations: 47.34 kB / 0.7961 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.2627, allocations: 21.7 kB / 0.7961 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2629, allocations: 334.8 kB / 0.7964 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.2631, allocations: 75.88 kB / 0.7965 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2633, allocations: 87.31 kB / 0.7966 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.2638, allocations: 172.7 kB / 0.7968 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2638, allocations: 0 / 0.7968 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005148/0.2643, allocations: 225.4 kB / 0.797 GB, free: 2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2643, allocations: 11.94 kB / 0.797 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2643, allocations: 0 / 0.797 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2644, allocations: 0 / 0.797 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2646, allocations: 39.97 kB / 0.797 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2646, allocations: 0 / 0.797 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.2648, allocations: 23.89 kB / 0.797 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2648, allocations: 7.984 kB / 0.797 GB, free: 1.918 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.0001049/0.2649, allocations: 126.4 kB / 0.7972 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.265, allocations: 15.81 kB / 0.7972 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.265, allocations: 29.83 kB / 0.7972 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.265, allocations: 4 kB / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.265, allocations: 0 / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2651, allocations: 3.984 kB / 0.7972 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2653, allocations: 265.3 kB / 0.7975 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2653, allocations: 4 kB / 0.7975 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2655, allocations: 35.91 kB / 0.7975 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2656, allocations: 4 kB / 0.7975 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2656, allocations: 15.98 kB / 0.7975 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2656, allocations: 0 / 0.7975 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2656, allocations: 0 / 0.7975 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.2662, allocations: 323.2 kB / 0.7978 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.2663, allocations: 116.8 kB / 0.798 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2663, allocations: 3.938 kB / 0.798 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2665, allocations: 27.98 kB / 0.798 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.2666, allocations: 7.984 kB / 0.798 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2666, allocations: 4 kB / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000129/0.2667, allocations: 152.5 kB / 0.7981 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2667, allocations: 0 / 0.7981 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002755/0.267, allocations: 43.88 kB / 0.7982 GB, free: 0.6641 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.000166/0.2672, allocations: 107.2 kB / 0.7983 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.2677, allocations: 190.7 kB / 0.7985 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2677, allocations: 4 kB / 0.7985 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.268, allocations: 95.92 kB / 0.7986 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2684, allocations: 31.69 kB / 0.7986 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.2692, allocations: 495.8 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2696, allocations: 0.7316 MB / 0.7998 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.2698, allocations: 52.59 kB / 0.7998 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.2698, allocations: 19.42 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.502e-06/0.2698, allocations: 0 / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.004519/0.2744, allocations: 1.527 MB / 0.8013 GB, free: 13.39 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: