Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.001126/0.001126, 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.001272/0.001272, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.25 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003064/0.3225, allocations: 1.971 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003725/0.3263, allocations: 3.431 MB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3264, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3267, allocations: 47.73 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.3271, allocations: 123.4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.126e-05/0.3272, allocations: 23.97 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.3274, allocations: 183.2 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3275, allocations: 29.67 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3277, allocations: 79.62 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.3278, allocations: 79.62 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3279, allocations: 11.94 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.328, allocations: 27.92 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.328, allocations: 39.81 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.3281, allocations: 75.48 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3283, allocations: 167.3 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3284, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3284, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3284, allocations: 0 / 1.074 GB, free: 4.586 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.0008865/0.3293, allocations: 0.5036 MB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3293, allocations: 8.031 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.3294, allocations: 20.75 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3297, allocations: 246.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3297, allocations: 4.375 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3298, allocations: 4.375 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3301, allocations: 149.6 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.3301, allocations: 0 / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3302, allocations: 0 / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.3302, allocations: 15.98 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.3306, allocations: 139.9 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.3313, allocations: 456.4 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3318, allocations: 170.5 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.332, allocations: 108.3 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3321, allocations: 4 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3321, allocations: 34.56 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3321, allocations: 0 / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008503/0.3329, allocations: 297.6 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.333, allocations: 55.41 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3332, allocations: 209 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3332, allocations: 33.7 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.3333, allocations: 120.1 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.3333, allocations: 43.36 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.3334, allocations: 33.7 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3335, allocations: 334.8 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3338, allocations: 75.88 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.334, allocations: 75.94 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3344, allocations: 164.7 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3344, allocations: 4 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00051/0.3349, allocations: 220.6 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.335, allocations: 5.406 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.335, allocations: 0 / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.335, allocations: 0 / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3353, allocations: 35.97 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3353, allocations: 15.92 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.3355, allocations: 15.98 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3355, allocations: 0 / 1.077 GB, free: 0.8281 MB / 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.0001085/0.3356, allocations: 137.7 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3357, allocations: 19.72 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.3357, allocations: 25.84 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3357, allocations: 3.984 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3357, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3358, allocations: 4 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.336, allocations: 265.4 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.336, allocations: 0 / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3363, allocations: 31.97 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3363, allocations: 3.984 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3363, allocations: 4 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3363, allocations: 0 / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3363, allocations: 4 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.3369, allocations: 327.1 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.337, allocations: 108.9 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3371, allocations: 0 / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3373, allocations: 15.98 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3373, allocations: 15.97 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3374, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001341/0.3375, allocations: 156.5 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3375, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002897/0.3378, allocations: 43.86 kB / 1.078 GB, free: 15.58 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.0001901/0.338, allocations: 107.2 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.3386, allocations: 183.7 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3386, allocations: 0 / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.3389, allocations: 95.86 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.3394, allocations: 31.42 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3405, allocations: 468.4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3409, allocations: 0.7278 MB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.3411, allocations: 52.58 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.3412, allocations: 19.42 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.3412, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.005801/0.347, allocations: 1.666 MB / 1.081 GB, free: 12.22 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)