Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009627/0.0009629, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006191/0.006191, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 9.125 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002555/0.316, allocations: 1.59 MB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005102/0.3211, allocations: 3.529 MB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3213, allocations: 3.938 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.3222, allocations: 183 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3225, allocations: 63.67 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3226, allocations: 23.92 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3231, allocations: 295 kB / 1.08 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3233, allocations: 25.44 kB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3234, allocations: 75.69 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3236, allocations: 75.62 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3237, allocations: 4 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3238, allocations: 23.97 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.3239, allocations: 51.77 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.324, allocations: 117.1 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3242, allocations: 171.3 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3242, allocations: 0 / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3242, allocations: 0 / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3242, allocations: 4 kB / 1.08 GB, free: 1.27 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.000869/0.3251, allocations: 0.5101 MB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3252, allocations: 12.03 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.3252, allocations: 24.66 kB / 1.081 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3256, allocations: 251.5 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3256, allocations: 8.375 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3257, allocations: 4.375 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.3261, allocations: 153.6 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3261, allocations: 0 / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3261, allocations: 3.984 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.3261, allocations: 11.98 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.3266, allocations: 159.9 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.3274, allocations: 468.4 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.3278, allocations: 190.5 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3281, allocations: 108.8 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3282, allocations: 7.984 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3282, allocations: 38.56 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.3282, allocations: 0 / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0009082/0.3291, allocations: 317.3 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3292, allocations: 55.39 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3294, allocations: 246.7 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3295, allocations: 29.7 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.3295, allocations: 132 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3296, allocations: 47.39 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3296, allocations: 13.72 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3298, allocations: 338.8 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.33, allocations: 87.92 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3303, allocations: 84.19 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3308, allocations: 180.2 kB / 1.084 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3308, allocations: 7.922 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005683/0.3314, allocations: 233.3 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3314, allocations: 8 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3314, allocations: 7.922 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3314, allocations: 3.938 kB / 1.084 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3317, allocations: 35.97 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3317, allocations: 0 / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3319, allocations: 19.89 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3319, allocations: 11.98 kB / 1.084 GB, free: 13.3 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 (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.0001306/0.332, allocations: 145.7 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3321, allocations: 15.81 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.3321, allocations: 33.83 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3322, allocations: 0 / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3322, allocations: 4 kB / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3322, allocations: 0 / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.3325, allocations: 277.3 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3325, allocations: 0 / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3327, allocations: 43.95 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3327, allocations: 0 / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3327, allocations: 0 / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3328, allocations: 4 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3328, allocations: 0 / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.3334, allocations: 347 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.3335, allocations: 112.8 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3336, allocations: 0 / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3338, allocations: 19.98 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3338, allocations: 11.97 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3338, allocations: 8 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001527/0.334, allocations: 174 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.334, allocations: 4 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002846/0.3343, allocations: 39.94 kB / 1.085 GB, free: 12 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.0001483/0.3345, allocations: 107.2 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.335, allocations: 191.8 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.335, allocations: 0 / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.3353, allocations: 111.9 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3358, allocations: 44.47 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.3367, allocations: 0.5503 MB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.337, allocations: 0.7438 MB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.3372, allocations: 53.36 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.3372, allocations: 19.42 kB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3372, allocations: 0 / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.005347/0.3426, allocations: 2.272 MB / 1.089 GB, free: 7.898 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)