Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 251.5 MB / 267.4 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.0012, allocations: 178.7 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205 MB / 0.5766 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007913/0.0007912, allocations: 104.7 kB / 0.6804 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 14.3 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 105.4 MB / 0.8968 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001737/0.2218, allocations: 1.243 MB / 0.898 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.2225, allocations: 467.5 kB / 0.8984 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.2226, allocations: 0 / 0.8984 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.2227, allocations: 0 / 0.8984 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.2227, allocations: 15.86 kB / 0.8984 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.2229, allocations: 15.98 kB / 0.8984 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.223, allocations: 51.78 kB / 0.8985 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2232, allocations: 8 kB / 0.8985 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2233, allocations: 27.84 kB / 0.8985 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.2234, allocations: 15.92 kB / 0.8985 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2234, allocations: 0 / 0.8985 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.2234, allocations: 4 kB / 0.8985 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2234, allocations: 7.938 kB / 0.8986 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.2235, allocations: 27.86 kB / 0.8986 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.2236, allocations: 31.94 kB / 0.8986 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2236, allocations: 0 / 0.8986 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2236, allocations: 0 / 0.8986 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2236, allocations: 0 / 0.8986 GB, free: 65.73 MB / 0.6042 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.0004944/0.2241, allocations: 347.3 kB / 0.8989 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2242, allocations: 16.02 kB / 0.899 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.2242, allocations: 8.844 kB / 0.899 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2244, allocations: 176.2 kB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2244, allocations: 384 / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2244, allocations: 4.375 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.2246, allocations: 65.92 kB / 0.8992 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2246, allocations: 0 / 0.8992 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2247, allocations: 3.938 kB / 0.8992 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2247, allocations: 4 kB / 0.8992 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2248, allocations: 39.97 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.2252, allocations: 272.9 kB / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2253, allocations: 46.56 kB / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.2254, allocations: 32.88 kB / 0.8996 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2254, allocations: 0 / 0.8996 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.2255, allocations: 30.56 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2255, allocations: 4 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003186/0.2258, allocations: 105.5 kB / 0.8997 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2259, allocations: 51.41 kB / 0.8998 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.226, allocations: 117.8 kB / 0.8999 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.226, allocations: 29.7 kB / 0.8999 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.226, allocations: 96.12 kB / 0.9 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2261, allocations: 7.844 kB / 0.9 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.2261, allocations: 9.719 kB / 0.9 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.2262, allocations: 322.8 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.2262, allocations: 31.86 kB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.2263, allocations: 19.98 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2264, allocations: 44.84 kB / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2264, allocations: 0 / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001572/0.2266, allocations: 89.56 kB / 0.9005 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2266, allocations: 4 kB / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2266, allocations: 0 / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2266, allocations: 0 / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2267, allocations: 12.31 kB / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2268, allocations: 0 / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.2268, allocations: 11.94 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2268, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 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 5.932e-05/0.2269, allocations: 125.8 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2269, allocations: 3.906 kB / 0.9006 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.227, allocations: 15.89 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.227, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.227, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.227, allocations: 0 / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2271, allocations: 173.6 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2271, allocations: 0 / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.2272, allocations: 19.98 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2272, allocations: 4 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2272, allocations: 0 / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2272, allocations: 0 / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2272, allocations: 0 / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2274, allocations: 187.3 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.2275, allocations: 85.02 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2275, allocations: 0 / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.2276, allocations: 7.984 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.2276, allocations: 4 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.2276, allocations: 0 / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.2277, allocations: 91.27 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.72e-07/0.2277, allocations: 0 / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001991/0.2279, allocations: 11.94 kB / 0.9012 GB, free: 62.73 MB / 0.6042 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.0001051/0.228, allocations: 107.2 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2282, allocations: 43.97 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2282, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.2282, allocations: 31.92 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2284, allocations: 7.938 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.2288, allocations: 191.7 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.2289, allocations: 0.6888 MB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.229, allocations: 11.42 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.229, allocations: 0 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.001927/0.2309, allocations: 0.6954 MB / 0.9029 GB, free: 60.9 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)