Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 91.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.425e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7168, allocations: 116.3 MB / 0.9734 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.92, allocations: 138.9 MB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.9203, allocations: 88.52 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003223/0.9236, allocations: 1.139 MB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9236, allocations: 1.344 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.9236, allocations: 4 kB / 1.11 GB, free: 9.984 MB / 0.7136 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.0003697/0.924, allocations: 348.6 kB / 1.111 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.9241, allocations: 12.53 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.9241, allocations: 0.5312 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.9242, allocations: 186.7 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.9243, allocations: 1.594 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.9243, allocations: 4 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.953e-05/0.9244, allocations: 15.94 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.9245, allocations: 42.97 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9245, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.9245, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9245, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.9249, allocations: 259.5 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.925, allocations: 31.14 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.925, allocations: 15.86 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.925, allocations: 4.031 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.9251, allocations: 42.55 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.9251, allocations: 0 / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.9252, allocations: 49.59 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.9253, allocations: 55.34 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.9254, allocations: 105 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.9254, allocations: 25.7 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.9255, allocations: 92.12 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.9255, allocations: 3.906 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.9255, allocations: 0 / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9256, allocations: 318.8 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.9256, allocations: 7.984 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.9257, allocations: 13.31 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.9257, allocations: 8 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9257, allocations: 2.812 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.391e-05/0.9258, allocations: 55.16 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.9258, allocations: 8 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9258, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.9258, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.926, allocations: 12.52 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.926, allocations: 3.828 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.926, allocations: 4.812 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.926, allocations: 4 kB / 1.112 GB, free: 8.121 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.9261, allocations: 114.9 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.47e-05/0.9262, allocations: 53.59 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.9263, allocations: 3.938 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.9263, allocations: 12.34 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9263, allocations: 4 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9263, allocations: 0 / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9263, allocations: 0 / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.9265, allocations: 154.1 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9265, allocations: 0 / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.9266, allocations: 12.22 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9266, allocations: 0 / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.9266, allocations: 4 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9266, allocations: 0 / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9266, allocations: 0 / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.9268, allocations: 166.1 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.9269, allocations: 81.02 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.9269, allocations: 3.188 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.927, allocations: 4 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.927, allocations: 7.984 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.927, allocations: 0 / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.9271, allocations: 93.91 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9271, allocations: 11.53 kB / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002241/0.9273, allocations: 8 kB / 1.113 GB, free: 7.324 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/0.9277, allocations: 0.6773 MB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.9278, allocations: 20 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9278, allocations: 8 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.9279, allocations: 15.92 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.928, allocations: 6.062 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.9284, allocations: 107.1 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.9287, allocations: 0.6846 MB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.9287, allocations: 3.984 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.9288, allocations: 15.44 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9288, allocations: 4 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.9507, allocations: 0.8991 MB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.9511, allocations: 162.5 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.649, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)