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.565/1.565, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 186.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000957/0.0009569, allocations: 86.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004507, allocations: 12.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.286, allocations: 355.6 MB / 1.247 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/1.286, allocations: 92.59 kB / 1.247 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02611/1.312, allocations: 9.37 MB / 1.257 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.567e-06/1.312, allocations: 0 / 1.257 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.399e-05/1.312, allocations: 8 kB / 1.257 GB, free: 3.289 MB / 0.7605 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.0009318/1.313, allocations: 0.4925 MB / 1.257 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.313, allocations: 8.031 kB / 1.257 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/1.313, allocations: 42.78 kB / 1.257 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/1.313, allocations: 23.67 kB / 1.257 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/1.314, allocations: 241 kB / 1.257 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.314, allocations: 7.375 kB / 1.257 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.314, allocations: 3.938 kB / 1.257 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/1.314, allocations: 158.8 kB / 1.258 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.314, allocations: 0 / 1.258 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.314, allocations: 0 / 1.258 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/1.314, allocations: 11.94 kB / 1.258 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/1.315, allocations: 167.8 kB / 1.258 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/1.316, allocations: 454.4 kB / 1.258 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/1.316, allocations: 184.7 kB / 1.258 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/1.316, allocations: 256 / 1.258 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.316, allocations: 37.64 kB / 1.258 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.316, allocations: 3.938 kB / 1.258 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.000889/1.317, allocations: 327.2 kB / 1.259 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.317, allocations: 55.41 kB / 1.259 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/1.318, allocations: 186 kB / 1.259 GB, free: 1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.318, allocations: 29.64 kB / 1.259 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/1.318, allocations: 116 kB / 1.259 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/1.318, allocations: 50.3 kB / 1.259 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/1.318, allocations: 0 / 1.259 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.318, allocations: 337.7 kB / 1.259 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.318, allocations: 82.75 kB / 1.26 GB, free: 448 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/1.318, allocations: 85.44 kB / 1.26 GB, free: 380 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/1.319, allocations: 86 kB / 1.26 GB, free: 312 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.319, allocations: 0 / 1.26 GB, free: 312 kB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000535/1.319, allocations: 228.9 kB / 1.26 GB, free: 116 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.319, allocations: 8 kB / 1.26 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.319, allocations: 0 / 1.26 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.319, allocations: 3.953 kB / 1.26 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1.32, allocations: 39.91 kB / 1.26 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.32, allocations: 7.984 kB / 1.26 GB, free: 56 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/1.32, allocations: 27.45 kB / 1.26 GB, free: 32 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/1.32, allocations: 0 / 1.26 GB, free: 32 kB / 0.7605 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 (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 0.0001735/1.32, allocations: 128.8 kB / 1.26 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/1.32, allocations: 15.81 kB / 1.26 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/1.32, allocations: 24.34 kB / 1.26 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.32, allocations: 7.938 kB / 1.26 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.32, allocations: 4 kB / 1.26 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.32, allocations: 0 / 1.26 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/1.32, allocations: 268.4 kB / 1.26 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.321, allocations: 4 kB / 1.26 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/1.321, allocations: 43.91 kB / 1.26 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.321, allocations: 3.984 kB / 1.26 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.321, allocations: 0 / 1.26 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.321, allocations: 3.938 kB / 1.26 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.321, allocations: 3.953 kB / 1.26 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/1.321, allocations: 332.4 kB / 1.261 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.322, allocations: 116 kB / 1.261 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/1.322, allocations: 3.938 kB / 1.261 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/1.322, allocations: 19.61 kB / 1.261 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/1.322, allocations: 11.97 kB / 1.261 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/1.322, allocations: 7.953 kB / 1.261 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001609/1.322, allocations: 150.2 kB / 1.261 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.5e-07/1.322, allocations: 0 / 1.261 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003082/1.322, allocations: 58.7 kB / 1.261 GB, free: 14.89 MB / 0.7761 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 (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.001148/1.324, allocations: 0.9076 MB / 1.262 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000522/1.324, allocations: 196.9 kB / 1.262 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.324, allocations: 0 / 1.262 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/1.324, allocations: 102 kB / 1.262 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/1.325, allocations: 27.55 kB / 1.262 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/1.327, allocations: 1.302 MB / 1.264 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/1.328, allocations: 0.735 MB / 1.264 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002051/1.328, allocations: 52.58 kB / 1.264 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.328, allocations: 47.8 kB / 1.264 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/1.328, allocations: 0 / 1.264 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.349, allocations: 4.415 MB / 1.269 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.349, allocations: 210.1 kB / 1.269 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/3.139, allocations: 0 / 1.269 GB, free: 7.254 MB / 0.7761 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)