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.501/1.501, allocations: 249.3 MB / 261.8 MB, free: 5.941 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.001111/0.001111, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009724/0.0009724, allocations: 98.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.861e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.261, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.308, allocations: 356 MB / 1.24 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.308, allocations: 89.44 kB / 1.24 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02765/1.336, allocations: 10.62 MB / 1.25 GB, free: 496 kB / 0.8542 GB Notification: Performance of FrontEnd: time 2.295e-06/1.336, allocations: 0 / 1.25 GB, free: 496 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.81e-05/1.336, allocations: 4 kB / 1.25 GB, free: 492 kB / 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.5974/1.933, allocations: 0.5678 MB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.933, allocations: 9.188 kB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/1.934, allocations: 41.08 kB / 1.251 GB, free: 306 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/1.934, allocations: 25.34 kB / 1.251 GB, free: 306 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/1.935, allocations: 274.4 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.935, allocations: 9.297 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/1.935, allocations: 7.922 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/1.935, allocations: 122.9 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.935, allocations: 5.25 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.935, allocations: 3.156 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/1.935, allocations: 2.062 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/1.935, allocations: 98.47 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/1.936, allocations: 493.7 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/1.937, allocations: 74.33 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/1.937, allocations: 64.53 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/1.937, allocations: 0.5164 MB / 1.252 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.937, allocations: 33.72 kB / 1.252 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/1.937, allocations: 224 / 1.252 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0004877/1.938, allocations: 161.2 kB / 1.252 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.938, allocations: 58.09 kB / 1.252 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/1.938, allocations: 205.3 kB / 1.253 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/1.938, allocations: 27.33 kB / 1.253 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.938, allocations: 138.3 kB / 1.253 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/1.938, allocations: 41.22 kB / 1.253 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.938, allocations: 1.031 kB / 1.253 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/1.939, allocations: 333.6 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.939, allocations: 45.8 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.939, allocations: 47.52 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/1.939, allocations: 49.61 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.939, allocations: 3.875 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002983/1.939, allocations: 156.8 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.939, allocations: 7.844 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.939, allocations: 0.7969 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.939, allocations: 2.219 kB / 1.253 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/1.94, allocations: 57.05 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.94, allocations: 1.969 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/1.94, allocations: 43.77 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/1.94, allocations: 9.812 kB / 1.254 GB, free: 304.2 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.288e-05/1.94, allocations: 109.1 kB / 1.254 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/1.94, allocations: 22.34 kB / 1.254 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/1.941, allocations: 192.5 kB / 1.254 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.941, allocations: 1.219 kB / 1.254 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.941, allocations: 0.9375 kB / 1.254 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.941, allocations: 0.75 kB / 1.254 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/1.941, allocations: 274.5 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.941, allocations: 3.078 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/1.941, allocations: 60.67 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.941, allocations: 6.844 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.941, allocations: 2.719 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/1.941, allocations: 1.562 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.941, allocations: 2.844 kB / 1.254 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/1.942, allocations: 260.7 kB / 1.254 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/1.942, allocations: 114.2 kB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/1.942, allocations: 5.062 kB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/1.942, allocations: 38.56 kB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/1.942, allocations: 19.52 kB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.942, allocations: 3.859 kB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001568/1.942, allocations: 166.5 kB / 1.255 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.942, allocations: 0 / 1.255 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003761/1.943, allocations: 70.45 kB / 1.255 GB, free: 303.5 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.0008596/1.944, allocations: 0.8784 MB / 1.256 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002884/1.944, allocations: 119.7 kB / 1.256 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.944, allocations: 3.5 kB / 1.256 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/1.944, allocations: 68.81 kB / 1.256 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/1.944, allocations: 23.91 kB / 1.256 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/1.945, allocations: 316.4 kB / 1.256 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/1.946, allocations: 0.7408 MB / 1.257 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001906/1.946, allocations: 40 kB / 1.257 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.946, allocations: 68.78 kB / 1.257 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/1.946, allocations: 2.125 kB / 1.257 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/1.967, allocations: 5.441 MB / 1.262 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.967, allocations: 193.7 kB / 1.263 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/3.839, allocations: 0 / 1.263 GB, free: 301.4 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)