Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001343, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.66 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003376/0.329, allocations: 2.1 MB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004625/0.3336, allocations: 4.082 MB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.3337, allocations: 0 / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.3345, allocations: 187.5 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3346, allocations: 55.55 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3351, allocations: 211.1 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.3357, allocations: 386.8 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3358, allocations: 56.36 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.336, allocations: 103.5 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3361, allocations: 127.4 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3362, allocations: 8 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.3366, allocations: 295.6 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3367, allocations: 95.7 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3368, allocations: 135.1 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.3374, allocations: 0.4907 MB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3374, allocations: 0 / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3374, allocations: 3.938 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3374, allocations: 3.938 kB / 1.076 GB, free: 2.555 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001366/0.3388, allocations: 0.7488 MB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3388, allocations: 12.03 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.3389, allocations: 36.47 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.3394, allocations: 330.3 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3394, allocations: 8.375 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3395, allocations: 8.375 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.34, allocations: 203 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.34, allocations: 0 / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.34, allocations: 8 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.34, allocations: 4 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.3408, allocations: 239.8 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.3417, allocations: 0.5939 MB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.3422, allocations: 174.4 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.3426, allocations: 140.8 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.3427, allocations: 15.98 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3427, allocations: 34.56 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3427, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.00129/0.344, allocations: 444.8 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.344, allocations: 51.41 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.3445, allocations: 409.6 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3445, allocations: 29.7 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3446, allocations: 191.8 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3447, allocations: 39.45 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.3448, allocations: 41.62 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3449, allocations: 350.8 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.3453, allocations: 167.9 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.3457, allocations: 171.1 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008592/0.3466, allocations: 350.3 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3466, allocations: 0 / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009643/0.3476, allocations: 466.6 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3476, allocations: 45.69 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3476, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3477, allocations: 0 / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.348, allocations: 43.94 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.348, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.3483, allocations: 47.75 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3483, allocations: 7.984 kB / 1.081 GB, free: 12.98 MB / 0.8419 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001627/0.3485, allocations: 159.5 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3485, allocations: 35.52 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.3494, allocations: 352.5 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3495, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3495, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3495, allocations: 3.938 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.3498, allocations: 337.3 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3499, allocations: 4 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3502, allocations: 51.94 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3502, allocations: 0 / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.3502, allocations: 4 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3502, allocations: 11.86 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3502, allocations: 4 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.3511, allocations: 415.6 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3512, allocations: 124.6 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.3512, allocations: 3.984 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.3515, allocations: 31.97 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.3516, allocations: 15.92 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3516, allocations: 7.984 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002658/0.3519, allocations: 287.1 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3519, allocations: 0 / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004247/0.3523, allocations: 119.9 kB / 1.083 GB, free: 10.96 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 (11): * Single equations (assignments): 11 * 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.0003342/0.3527, allocations: 179.1 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009917/0.3537, allocations: 0.4952 MB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3537, allocations: 4 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3541, allocations: 139.8 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3546, allocations: 58.08 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3557, allocations: 0.7087 MB / 1.084 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3561, allocations: 0.7791 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.3563, allocations: 57.44 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.3564, allocations: 19.42 kB / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3564, allocations: 0 / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of Templates: time 0.008064/0.3644, allocations: 4.521 MB / 1.089 GB, free: 3.973 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)