Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 2.001/2.001, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001235/0.001235, allocations: 185 kB / 377.1 MB, free: 1.531 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.704/1.704, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.001009/0.001009, allocations: 88.62 kB / 0.7509 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004219, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.328, allocations: 364.6 MB / 1.344 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.328, allocations: 93.27 kB / 1.345 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02937/1.357, allocations: 10.85 MB / 1.355 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.383e-06/1.357, allocations: 0 / 1.355 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.357, allocations: 4 kB / 1.355 GB, free: 14.71 MB / 0.9323 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.001267/1.359, allocations: 0.6207 MB / 1.356 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.359, allocations: 12.02 kB / 1.356 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/1.359, allocations: 42.55 kB / 1.356 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/1.359, allocations: 24.16 kB / 1.356 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/1.36, allocations: 282.4 kB / 1.356 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.36, allocations: 5.312 kB / 1.356 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/1.36, allocations: 8 kB / 1.356 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/1.36, allocations: 190.5 kB / 1.356 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.36, allocations: 0 / 1.356 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.36, allocations: 14.39 kB / 1.356 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.36, allocations: 4 kB / 1.356 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/1.361, allocations: 229.2 kB / 1.357 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/1.362, allocations: 496.8 kB / 1.357 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/1.362, allocations: 142.5 kB / 1.357 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/1.363, allocations: 0.5105 MB / 1.358 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.363, allocations: 39.92 kB / 1.358 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/1.363, allocations: 4 kB / 1.358 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.001219/1.364, allocations: 422.9 kB / 1.358 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.364, allocations: 51.41 kB / 1.358 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/1.365, allocations: 202.8 kB / 1.358 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.365, allocations: 33.7 kB / 1.358 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.365, allocations: 140 kB / 1.358 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/1.365, allocations: 35.45 kB / 1.359 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/1.365, allocations: 4 kB / 1.359 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.365, allocations: 334.8 kB / 1.359 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/1.365, allocations: 119.8 kB / 1.359 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/1.366, allocations: 115.9 kB / 1.359 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/1.366, allocations: 120.7 kB / 1.359 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.366, allocations: 0 / 1.359 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007657/1.367, allocations: 301.9 kB / 1.359 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.367, allocations: 4 kB / 1.359 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.367, allocations: 0 / 1.359 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.367, allocations: 3.953 kB / 1.359 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.367, allocations: 59.94 kB / 1.36 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.367, allocations: 4.484 kB / 1.36 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/1.367, allocations: 43.95 kB / 1.36 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/1.367, allocations: 4 kB / 1.36 GB, free: 9.852 MB / 0.9323 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 (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 0.0001304/1.368, allocations: 127.6 kB / 1.36 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/1.368, allocations: 27.7 kB / 1.36 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/1.369, allocations: 319.7 kB / 1.36 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.369, allocations: 8 kB / 1.36 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.369, allocations: 3.953 kB / 1.36 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.369, allocations: 5.297 kB / 1.36 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/1.369, allocations: 269.5 kB / 1.36 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.369, allocations: 0 / 1.36 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/1.369, allocations: 59.94 kB / 1.36 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.369, allocations: 0 / 1.36 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.369, allocations: 3.938 kB / 1.36 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.369, allocations: 0 / 1.36 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.369, allocations: 0.7812 kB / 1.36 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/1.37, allocations: 407 kB / 1.361 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.37, allocations: 108.8 kB / 1.361 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/1.37, allocations: 8.922 kB / 1.361 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/1.371, allocations: 35.97 kB / 1.361 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/1.371, allocations: 19.95 kB / 1.361 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.371, allocations: 4 kB / 1.361 GB, free: 8.379 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001552/1.371, allocations: 169.9 kB / 1.361 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/1.371, allocations: 0 / 1.361 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003792/1.371, allocations: 75.86 kB / 1.361 GB, free: 8.141 MB / 0.9323 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 (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.001368/1.373, allocations: 1.003 MB / 1.362 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007855/1.373, allocations: 263.7 kB / 1.362 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.373, allocations: 0 / 1.362 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.374, allocations: 142.3 kB / 1.363 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.374, allocations: 24.55 kB / 1.363 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/1.377, allocations: 1.486 MB / 1.364 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/1.378, allocations: 0.7433 MB / 1.365 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000199/1.378, allocations: 35.27 kB / 1.365 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.378, allocations: 63.41 kB / 1.365 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/1.378, allocations: 0 / 1.365 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4934/1.871, allocations: 5.23 MB / 1.37 GB, free: 276 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.871, allocations: 207.2 kB / 1.37 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.97, allocations: 0 / 1.37 GB, free: 275.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)