Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002353/0.002353, allocations: 189 kB / 16.25 MB, free: 6.148 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 61.98 kB / 0.9115 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3902, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.005582/0.3958, allocations: 1.571 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3971, allocations: 422.9 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.3973, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.3974, allocations: 7.922 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3975, allocations: 7.938 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.3978, allocations: 15.97 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.398, allocations: 55.73 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3981, allocations: 11.98 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3983, allocations: 23.86 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3985, allocations: 27.91 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3985, allocations: 7.984 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.3986, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.3986, allocations: 7.938 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.3987, allocations: 23.86 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3989, allocations: 40.11 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3989, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3989, allocations: 0 / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.3989, allocations: 0 / 1.07 GB, free: 8.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008312/0.3998, allocations: 367.2 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.3998, allocations: 8.031 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.3999, allocations: 8.844 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4002, allocations: 180.2 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4002, allocations: 384 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.4003, allocations: 8.375 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.4007, allocations: 57.98 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4007, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4007, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4007, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.401, allocations: 35.97 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.4017, allocations: 280.8 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4019, allocations: 38.56 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4021, allocations: 24.94 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4021, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.4022, allocations: 34.55 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4022, allocations: 8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005851/0.4028, allocations: 89.5 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4029, allocations: 51.41 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.403, allocations: 113.8 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4031, allocations: 29.7 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.4032, allocations: 92.12 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.4032, allocations: 3.906 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.4033, allocations: 21.72 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4035, allocations: 318.8 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4037, allocations: 19.98 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4038, allocations: 15.98 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.4041, allocations: 41.11 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.4041, allocations: 3.938 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000342/0.4044, allocations: 81.56 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4045, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4045, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4045, allocations: 3.938 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4047, allocations: 11.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4047, allocations: 3.938 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.4048, allocations: 7.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4048, allocations: 0 / 1.072 GB, free: 6.363 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 (3): * Single equations (assignments): 3 * 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.0001238/0.405, allocations: 117.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.405, allocations: 3.906 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.4051, allocations: 11.91 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4051, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4051, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4051, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.4054, allocations: 173.6 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4055, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4056, allocations: 15.92 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4056, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4057, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.4057, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4057, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.4061, allocations: 167.5 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.4062, allocations: 88.95 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.4062, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4064, allocations: 8 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.4065, allocations: 3.984 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4065, allocations: 4 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.4066, allocations: 95.27 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4066, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003942/0.407, allocations: 8 kB / 1.072 GB, free: 5.57 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0002528/0.4073, allocations: 103.2 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.4077, allocations: 43.97 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4077, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.4078, allocations: 19.98 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4082, allocations: 3.938 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.4089, allocations: 184.8 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4094, allocations: 0.6846 MB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.179e-05/0.4095, allocations: 3.938 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.4095, allocations: 11.44 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.4095, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of Templates: time 0.004378/0.4139, allocations: 415.4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)