Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.691/1.691, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001048/0.001047, allocations: 185.7 kB / 371.6 MB, free: 3.383 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.682/1.682, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009929/0.0009931, allocations: 95.23 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.652e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2915, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.413, allocations: 365.2 MB / 1.336 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.413, allocations: 88.5 kB / 1.337 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03381/1.447, allocations: 11.58 MB / 1.348 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.074e-06/1.447, allocations: 0 / 1.348 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.407e-05/1.447, allocations: 4 kB / 1.348 GB, free: 5.641 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001355/1.448, allocations: 0.605 MB / 1.348 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.448, allocations: 12.02 kB / 1.348 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/1.448, allocations: 46.41 kB / 1.349 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/1.449, allocations: 135.1 kB / 1.349 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.45, allocations: 338.1 kB / 1.349 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.45, allocations: 7.062 kB / 1.349 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/1.45, allocations: 11.62 kB / 1.349 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/1.451, allocations: 152.3 kB / 1.349 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.451, allocations: 0 / 1.349 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/1.451, allocations: 10.94 kB / 1.349 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.451, allocations: 4 kB / 1.349 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/1.451, allocations: 142.5 kB / 1.349 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/1.453, allocations: 0.5986 MB / 1.35 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/1.453, allocations: 95.75 kB / 1.35 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/1.453, allocations: 88.34 kB / 1.35 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008451/1.454, allocations: 0.5101 MB / 1.351 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.454, allocations: 34.56 kB / 1.351 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 3.406e-06/1.454, allocations: 4 kB / 1.351 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.000568/1.455, allocations: 207.1 kB / 1.351 GB, free: 2.754 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.455, allocations: 54.47 kB / 1.351 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/1.455, allocations: 228.1 kB / 1.351 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/1.455, allocations: 34.83 kB / 1.351 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.455, allocations: 143.8 kB / 1.351 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/1.455, allocations: 49.09 kB / 1.351 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/1.455, allocations: 7.25 kB / 1.351 GB, free: 2.301 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1.455, allocations: 340.5 kB / 1.352 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/1.456, allocations: 72.23 kB / 1.352 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.456, allocations: 75.77 kB / 1.352 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/1.456, allocations: 75.12 kB / 1.352 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.456, allocations: 0 / 1.352 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004474/1.456, allocations: 227.6 kB / 1.352 GB, free: 1.676 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.456, allocations: 5.562 kB / 1.352 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.456, allocations: 5.312 kB / 1.352 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.457, allocations: 7.938 kB / 1.352 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.457, allocations: 83.34 kB / 1.352 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.457, allocations: 0 / 1.352 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/1.457, allocations: 59.8 kB / 1.352 GB, free: 1.523 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/1.457, allocations: 11.92 kB / 1.352 GB, free: 1.516 MB / 0.9167 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 (17): * Single equations (assignments): 17 * 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 0.0001459/1.458, allocations: 117.8 kB / 1.352 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/1.458, allocations: 27.62 kB / 1.352 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/1.458, allocations: 245.3 kB / 1.353 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.458, allocations: 0 / 1.353 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.458, allocations: 0 / 1.353 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.458, allocations: 5.016 kB / 1.353 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/1.459, allocations: 310.5 kB / 1.353 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.459, allocations: 0 / 1.353 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/1.459, allocations: 71.92 kB / 1.353 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.459, allocations: 7.938 kB / 1.353 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/1.459, allocations: 7.984 kB / 1.353 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.459, allocations: 0.6875 kB / 1.353 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.459, allocations: 0 / 1.353 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/1.46, allocations: 312.9 kB / 1.353 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/1.46, allocations: 120.1 kB / 1.353 GB, free: 428 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/1.46, allocations: 7.422 kB / 1.353 GB, free: 424 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/1.46, allocations: 52.89 kB / 1.353 GB, free: 376 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.46, allocations: 19.78 kB / 1.353 GB, free: 360 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/1.461, allocations: 4 kB / 1.353 GB, free: 356 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000203/1.461, allocations: 189.4 kB / 1.354 GB, free: 200 kB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.461, allocations: 0 / 1.354 GB, free: 200 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004268/1.461, allocations: 74.44 kB / 1.354 GB, free: 132 kB / 0.9167 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 (13): * Single equations (assignments): 13 * 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.001266/1.462, allocations: 0.9306 MB / 1.355 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005665/1.463, allocations: 179.5 kB / 1.355 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.463, allocations: 0 / 1.355 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/1.463, allocations: 101.7 kB / 1.355 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/1.464, allocations: 20.53 kB / 1.355 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/1.465, allocations: 387.4 kB / 1.355 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/1.465, allocations: 0.7516 MB / 1.356 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000288/1.465, allocations: 47.2 kB / 1.356 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/1.466, allocations: 82.2 kB / 1.356 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of SimCode: time 2.6e-07/1.466, allocations: 0 / 1.356 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/1.487, allocations: 6.262 MB / 1.362 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.487, allocations: 177.2 kB / 1.362 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.744, allocations: 0 / 1.362 GB, free: 7.547 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)