Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001293/0.001293, allocations: 199.5 kB / 16.14 MB, free: 6.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.2 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3236, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003163/0.3268, allocations: 1.933 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004093/0.3309, allocations: 3.572 MB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.3311, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.3319, allocations: 179.6 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3321, allocations: 67.59 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.847e-05/0.3321, allocations: 31.84 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.3326, allocations: 291.1 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.3327, allocations: 29.48 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3328, allocations: 71.7 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.333, allocations: 79.62 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.333, allocations: 4 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.3331, allocations: 23.97 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.3332, allocations: 55.75 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.3333, allocations: 87.42 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3335, allocations: 187.3 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3335, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3335, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3335, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8262 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.0008838/0.3344, allocations: 0.5293 MB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3345, allocations: 8.031 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.3345, allocations: 24.66 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.3349, allocations: 247.6 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3349, allocations: 8.375 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3349, allocations: 4.375 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3353, allocations: 137.7 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3353, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3353, allocations: 7.984 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.3354, allocations: 4 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.3358, allocations: 147.9 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.3365, allocations: 468.3 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.337, allocations: 170.5 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3372, allocations: 104.8 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3373, allocations: 7.984 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3373, allocations: 34.56 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3373, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008019/0.3381, allocations: 292.8 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3381, allocations: 55.34 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3384, allocations: 246.7 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3384, allocations: 25.7 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.3385, allocations: 140 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.3385, allocations: 47.3 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3386, allocations: 29.7 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3387, allocations: 342.8 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.339, allocations: 72.19 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3392, allocations: 75.94 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.3396, allocations: 172.7 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3396, allocations: 3.938 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005321/0.3402, allocations: 213.3 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3402, allocations: 13.41 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3402, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3402, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.3405, allocations: 31.97 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3405, allocations: 0 / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3407, allocations: 19.88 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3407, allocations: 4 kB / 1.077 GB, free: 480 kB / 0.8262 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.0001211/0.3408, allocations: 145.7 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.3409, allocations: 23.72 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.341, allocations: 33.83 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.341, allocations: 0 / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.341, allocations: 0 / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.341, allocations: 0 / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3413, allocations: 281.4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3413, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3415, allocations: 31.97 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3415, allocations: 7.984 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3415, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3416, allocations: 3.984 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3416, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.3421, allocations: 330.6 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.3422, allocations: 108.8 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3423, allocations: 3.984 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3425, allocations: 15.98 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3425, allocations: 7.984 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3425, allocations: 4 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001533/0.3427, allocations: 182 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3427, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002872/0.343, allocations: 43.94 kB / 1.079 GB, free: 15.18 MB / 0.8419 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.0001871/0.3432, allocations: 111.2 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.3437, allocations: 175.7 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3438, allocations: 4 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.344, allocations: 91.88 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.3446, allocations: 52.45 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3456, allocations: 0.5079 MB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.346, allocations: 0.7438 MB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.3462, allocations: 53.36 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.3463, allocations: 15.44 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3463, allocations: 0 / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.005543/0.3518, allocations: 2.301 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)