Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 176.9 kB / 316.3 MB, free: 3.266 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.509/1.509, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008883/0.0008883, allocations: 93.58 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.626e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8018/0.9974, allocations: 356.3 MB / 1.233 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.9976, allocations: 81.39 kB / 1.233 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0253/1.023, allocations: 10.55 MB / 1.244 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.052e-06/1.023, allocations: 0 / 1.244 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.023, allocations: 8 kB / 1.244 GB, free: 4.57 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009079/1.024, allocations: 0.5766 MB / 1.244 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.024, allocations: 12.03 kB / 1.244 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/1.024, allocations: 19.72 kB / 1.244 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/1.025, allocations: 278.2 kB / 1.244 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.025, allocations: 4 kB / 1.244 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/1.025, allocations: 7.938 kB / 1.244 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/1.025, allocations: 96.66 kB / 1.245 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.025, allocations: 116.2 kB / 1.245 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/1.025, allocations: 0 / 1.245 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/1.025, allocations: 0 / 1.245 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/1.025, allocations: 0 / 1.245 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/1.026, allocations: 465 kB / 1.245 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/1.026, allocations: 74.44 kB / 1.245 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/1.026, allocations: 58.09 kB / 1.245 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/1.027, allocations: 0.5102 MB / 1.246 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.027, allocations: 42.48 kB / 1.246 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/1.027, allocations: 0 / 1.246 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.4797/1.506, allocations: 3.725 MB / 1.249 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/1.506, allocations: 55.19 kB / 1.249 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/1.507, allocations: 191.8 kB / 1.25 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/1.507, allocations: 25.7 kB / 1.25 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.507, allocations: 145.5 kB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/1.507, allocations: 36.38 kB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/1.507, allocations: 2.891 kB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/1.507, allocations: 335.5 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.507, allocations: 48.22 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/1.507, allocations: 44.7 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04958/1.557, allocations: 3.628 MB / 1.254 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.557, allocations: 4 kB / 1.254 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04845/1.605, allocations: 3.737 MB / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.605, allocations: 4.75 kB / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.605, allocations: 0.7812 kB / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.605, allocations: 0.7188 kB / 1.257 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/1.606, allocations: 58.12 kB / 1.258 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.606, allocations: 0 / 1.258 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.606, allocations: 39.14 kB / 1.258 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/1.606, allocations: 7.188 kB / 1.258 GB, free: 308.3 MB / 0.8542 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 (11): * Single equations (assignments): 11 * 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.648e-05/1.606, allocations: 108.5 kB / 1.258 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04767/1.654, allocations: 3.736 MB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/1.654, allocations: 21.34 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04771/1.702, allocations: 3.763 MB / 1.265 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.702, allocations: 5.125 kB / 1.265 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.702, allocations: 3.953 kB / 1.265 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.702, allocations: 1.094 kB / 1.265 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/1.702, allocations: 242.2 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.702, allocations: 1.344 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.702, allocations: 53.97 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.702, allocations: 0 / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.702, allocations: 6.344 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.702, allocations: 2.5 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.702, allocations: 4 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04751/1.75, allocations: 3.839 MB / 1.269 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.75, allocations: 112.1 kB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/1.75, allocations: 1.219 kB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/1.75, allocations: 35.16 kB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/1.75, allocations: 15.05 kB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/1.75, allocations: 10.8 kB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001369/1.751, allocations: 152.6 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.751, allocations: 0 / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003797/1.751, allocations: 70.47 kB / 1.269 GB, free: 306.8 MB / 0.8542 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 (11): * Single equations (assignments): 11 * 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.04777/1.799, allocations: 4.45 MB / 1.274 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002718/1.799, allocations: 122.2 kB / 1.274 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.799, allocations: 0 / 1.274 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/1.799, allocations: 62.45 kB / 1.274 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.8, allocations: 27.05 kB / 1.274 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/1.8, allocations: 306.6 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/1.8, allocations: 0.7364 MB / 1.275 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001773/1.801, allocations: 45.06 kB / 1.275 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.801, allocations: 68.17 kB / 1.275 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/1.801, allocations: 0 / 1.275 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/1.822, allocations: 4.375 MB / 1.279 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.822, allocations: 167 kB / 1.28 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.512, allocations: 0 / 1.28 GB, free: 302.5 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)