Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 167.9 kB / 25.17 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9112/0.9112, allocations: 177.2 MB / 205.6 MB, free: 4.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.974/1.974, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.826e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002852/0.00287, allocations: 1.615 MB / 0.7771 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.003764, allocations: 498.5 kB / 0.7776 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.003851, allocations: 4 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.003895, allocations: 3.938 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.003979, allocations: 11.86 kB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.004251, allocations: 35.89 kB / 0.7777 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004412, allocations: 59.7 kB / 0.7777 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.004518, allocations: 8 kB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.004722, allocations: 39.91 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.004806, allocations: 19.91 kB / 0.7778 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.004826, allocations: 4 kB / 0.7778 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.004896, allocations: 8 kB / 0.7778 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.004919, allocations: 7.984 kB / 0.7778 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.004951, allocations: 11.94 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.005094, allocations: 55.75 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005097, allocations: 0 / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005098, allocations: 3.938 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005103, allocations: 0 / 0.7779 GB, free: 12.18 MB / 0.7448 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.0004332/0.005536, allocations: 260.8 kB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.005579, allocations: 12.03 kB / 0.7781 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.005772, allocations: 24.91 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.005964, allocations: 121.7 kB / 0.7783 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.005975, allocations: 384 / 0.7783 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.005989, allocations: 384 / 0.7783 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.006122, allocations: 58.94 kB / 0.7783 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.006132, allocations: 4.188 kB / 0.7783 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.006142, allocations: 4.375 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.006151, allocations: 3.938 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.006183, allocations: 15.91 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.006428, allocations: 156.3 kB / 0.7785 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.006494, allocations: 22.58 kB / 0.7785 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.006514, allocations: 8.859 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.006525, allocations: 0 / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.006552, allocations: 42.56 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.006553, allocations: 0 / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.00669, allocations: 49.7 kB / 0.7786 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.006725, allocations: 55.41 kB / 0.7787 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.006806, allocations: 122.7 kB / 0.7788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.006816, allocations: 25.7 kB / 0.7788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.006849, allocations: 96.06 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.006865, allocations: 7.891 kB / 0.7789 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.006892, allocations: 17.72 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.006961, allocations: 318.8 kB / 0.7793 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.006971, allocations: 4 kB / 0.7793 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.006979, allocations: 0 / 0.7793 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.007007, allocations: 20.78 kB / 0.7793 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007008, allocations: 4 kB / 0.7793 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.631e-05/0.007054, allocations: 37.69 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007068, allocations: 8 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007074, allocations: 3.938 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.007081, allocations: 4 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.007139, allocations: 11.92 kB / 0.7793 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.007143, allocations: 4 kB / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.00716, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.007165, allocations: 0 / 0.7793 GB, free: 10.52 MB / 0.7448 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 4.946e-05/0.007215, allocations: 117.8 kB / 0.7795 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.007227, allocations: 7.984 kB / 0.7795 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.007245, allocations: 11.94 kB / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.007247, allocations: 0 / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007248, allocations: 0 / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007251, allocations: 0 / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.007331, allocations: 77.88 kB / 0.7796 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007332, allocations: 4 kB / 0.7796 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.007354, allocations: 7.984 kB / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007355, allocations: 0 / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.00736, allocations: 0 / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00736, allocations: 0 / 0.7796 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007362, allocations: 11.94 kB / 0.7796 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.986e-05/0.007432, allocations: 131.9 kB / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.00744, allocations: 3.953 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.007449, allocations: 4.031 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.007482, allocations: 7.984 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.007508, allocations: 11.88 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.00751, allocations: 0 / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.762e-05/0.007528, allocations: 28.45 kB / 0.7798 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007528, allocations: 0 / 0.7798 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001114/0.00764, allocations: 8 kB / 0.7798 GB, free: 10.05 MB / 0.7448 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 6.831e-05/0.007708, allocations: 84.41 kB / 0.7798 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.065e-05/0.007759, allocations: 12.86 kB / 0.7799 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.007762, allocations: 0 / 0.7799 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.007778, allocations: 12.84 kB / 0.7799 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.729e-05/0.007875, allocations: 11.94 kB / 0.7799 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.00832, allocations: 205.9 kB / 0.7801 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.008364, allocations: 67.34 kB / 0.7801 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.008405, allocations: 51.38 kB / 0.7802 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.008405, allocations: 0 / 0.7802 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.00132/0.009726, allocations: 0.7773 MB / 0.7809 GB, free: 8.77 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.367374322377145]