Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 285.4 MB / 298 MB, free: 5.977 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.001385/0.001385, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.573/1.573, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008758/0.0008758, allocations: 94.72 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.688e-05, allocations: 7.984 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7135, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.686, allocations: 363 MB / 1.326 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.686, allocations: 90.55 kB / 1.326 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02151/1.708, allocations: 9.499 MB / 1.335 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.625e-06/1.708, allocations: 0 / 1.335 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.708, allocations: 0 / 1.335 GB, free: 177.2 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006251/1.709, allocations: 466.7 kB / 1.335 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.709, allocations: 13.31 kB / 1.335 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/1.709, allocations: 38.42 kB / 1.335 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/1.709, allocations: 23.83 kB / 1.335 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/1.709, allocations: 243.8 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.709, allocations: 6.859 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.709, allocations: 3.312 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.709, allocations: 111.5 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.709, allocations: 0 / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/1.709, allocations: 3.625 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/1.709, allocations: 15.78 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.71, allocations: 98.91 kB / 1.336 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/1.71, allocations: 468 kB / 1.336 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.711, allocations: 144.3 kB / 1.336 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/1.711, allocations: 79.22 kB / 1.337 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/1.711, allocations: 11.84 kB / 1.337 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/1.711, allocations: 34.12 kB / 1.337 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/1.711, allocations: 0 / 1.337 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003253/1.711, allocations: 165.5 kB / 1.337 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.711, allocations: 55.19 kB / 1.337 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/1.711, allocations: 191.3 kB / 1.337 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/1.711, allocations: 25.7 kB / 1.337 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/1.711, allocations: 128.6 kB / 1.337 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/1.711, allocations: 42.84 kB / 1.337 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/1.711, allocations: 3.375 kB / 1.337 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6e-05/1.711, allocations: 325.8 kB / 1.337 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/1.712, allocations: 57.06 kB / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/1.712, allocations: 45.27 kB / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/1.712, allocations: 66.7 kB / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.712, allocations: 0 / 1.338 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002418/1.712, allocations: 165.9 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.712, allocations: 7.812 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.712, allocations: 4 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.712, allocations: 3.953 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/1.712, allocations: 35.31 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.712, allocations: 5.297 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/1.712, allocations: 23.58 kB / 1.338 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.713, allocations: 7.969 kB / 1.338 GB, free: 175.1 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 (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 prepare postOptimizeDAE: time 6.597e-05/1.713, allocations: 112.4 kB / 1.338 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.713, allocations: 19.53 kB / 1.338 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/1.713, allocations: 24.92 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.713, allocations: 3.906 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.713, allocations: 3.953 kB / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.713, allocations: 0 / 1.338 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.713, allocations: 264 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.713, allocations: 0 / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/1.713, allocations: 39.28 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.713, allocations: 0 / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.713, allocations: 7.5 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.713, allocations: 1.219 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.713, allocations: 5.422 kB / 1.338 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/1.714, allocations: 270.5 kB / 1.339 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/1.714, allocations: 115.9 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/1.714, allocations: 3.625 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/1.714, allocations: 15.7 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/1.714, allocations: 15.31 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/1.714, allocations: 3.906 kB / 1.339 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001219/1.714, allocations: 157.8 kB / 1.339 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.714, allocations: 0 / 1.339 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002986/1.714, allocations: 46.97 kB / 1.339 GB, free: 174.3 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 (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.0006048/1.715, allocations: 0.8578 MB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002471/1.715, allocations: 134.4 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.715, allocations: 0 / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.715, allocations: 70.78 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.716, allocations: 19.42 kB / 1.34 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/1.716, allocations: 299.8 kB / 1.34 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/1.716, allocations: 0.7381 MB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001634/1.717, allocations: 46.98 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/1.717, allocations: 53.47 kB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.717, allocations: 0 / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/1.733, allocations: 4.586 MB / 1.346 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.733, allocations: 186.5 kB / 1.346 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/3.368, allocations: 0 / 1.346 GB, free: 170.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)