Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 249.5 MB / 257 MB, free: 6.957 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.0009195/0.0009195, allocations: 176.9 kB / 316.3 MB, free: 3.25 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.382/1.382, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0007888/0.0007888, allocations: 83.33 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.688e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7841/0.97, allocations: 355.8 MB / 1.233 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.9703, allocations: 86.56 kB / 1.233 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02166/0.9919, allocations: 9.241 MB / 1.242 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.992, allocations: 0 / 1.242 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.992, allocations: 4 kB / 1.242 GB, free: 5.887 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.0005901/0.9926, allocations: 461.9 kB / 1.242 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9926, allocations: 12.03 kB / 1.242 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.9927, allocations: 24.02 kB / 1.242 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.9931, allocations: 230.5 kB / 1.243 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.9931, allocations: 4 kB / 1.243 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.9931, allocations: 4 kB / 1.243 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.9933, allocations: 80.91 kB / 1.243 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.9934, allocations: 112.1 kB / 1.243 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9934, allocations: 0 / 1.243 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.9935, allocations: 3.984 kB / 1.243 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.9935, allocations: 11.95 kB / 1.243 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.9941, allocations: 435 kB / 1.243 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.9943, allocations: 138 kB / 1.243 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.9944, allocations: 81.39 kB / 1.243 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.9944, allocations: 0 / 1.243 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.9945, allocations: 30.81 kB / 1.243 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.011e-06/0.9945, allocations: 8 kB / 1.243 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005023/0.995, allocations: 194.7 kB / 1.244 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.995, allocations: 51.41 kB / 1.244 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.9952, allocations: 178.6 kB / 1.244 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9952, allocations: 25.7 kB / 1.244 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.9953, allocations: 119 kB / 1.244 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.9953, allocations: 46.23 kB / 1.244 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.9953, allocations: 0 / 1.244 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9954, allocations: 333.6 kB / 1.244 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.9955, allocations: 45.05 kB / 1.244 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.9956, allocations: 53.34 kB / 1.244 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.9959, allocations: 86.05 kB / 1.245 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9959, allocations: 0 / 1.245 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003967/0.9963, allocations: 184.9 kB / 1.245 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9963, allocations: 8 kB / 1.245 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9963, allocations: 4 kB / 1.245 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9964, allocations: 3.984 kB / 1.245 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.9966, allocations: 35.97 kB / 1.245 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9966, allocations: 3.953 kB / 1.245 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.9968, allocations: 23.83 kB / 1.245 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.9968, allocations: 15.73 kB / 1.245 GB, free: 3.082 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 7.604e-05/0.9969, allocations: 108.9 kB / 1.245 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003978/0.9973, allocations: 183 kB / 1.245 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.9973, allocations: 19.72 kB / 1.245 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.9974, allocations: 27.66 kB / 1.245 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9974, allocations: 4 kB / 1.245 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9974, allocations: 0 / 1.245 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9974, allocations: 0 / 1.245 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.9977, allocations: 237.3 kB / 1.245 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9977, allocations: 4 kB / 1.245 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.9979, allocations: 39.91 kB / 1.245 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9979, allocations: 0 / 1.245 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.9979, allocations: 7.984 kB / 1.245 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9979, allocations: 0 / 1.245 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9979, allocations: 3.953 kB / 1.245 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.9984, allocations: 294.9 kB / 1.246 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.9985, allocations: 108.7 kB / 1.246 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.9985, allocations: 7.922 kB / 1.246 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.9987, allocations: 15.98 kB / 1.246 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.9988, allocations: 15.73 kB / 1.246 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.9988, allocations: 7.953 kB / 1.246 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001079/0.9989, allocations: 150.6 kB / 1.246 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9989, allocations: 0 / 1.246 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002753/0.9992, allocations: 36 kB / 1.246 GB, free: 1.895 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.0008208/1, allocations: 0.8763 MB / 1.247 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002125/1, allocations: 126.5 kB / 1.247 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1, allocations: 0 / 1.247 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/1, allocations: 61.47 kB / 1.247 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/1.001, allocations: 22.86 kB / 1.247 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/1.001, allocations: 297.9 kB / 1.247 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/1.002, allocations: 0.7352 MB / 1.248 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001728/1.002, allocations: 52.69 kB / 1.248 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/1.002, allocations: 49.98 kB / 1.248 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/1.002, allocations: 4 kB / 1.248 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/1.021, allocations: 3.551 MB / 1.252 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.021, allocations: 164.8 kB / 1.252 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.645, allocations: 4.031 kB / 1.252 GB, free: 12.05 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)