Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001541/0.001542, allocations: 191.9 kB / 377.1 MB, free: 1.516 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.974/1.974, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.001167/0.001167, allocations: 96.7 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005062, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9473/1.239, allocations: 364.1 MB / 1.344 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.239, allocations: 84.75 kB / 1.344 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02653/1.265, allocations: 9.545 MB / 1.353 GB, free: 496 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.763e-06/1.265, allocations: 0 / 1.353 GB, free: 496 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.265, allocations: 0.5625 kB / 1.353 GB, free: 496 kB / 0.9167 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.0008772/1.266, allocations: 0.4921 MB / 1.354 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.266, allocations: 12.02 kB / 1.354 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/1.266, allocations: 38.56 kB / 1.354 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/1.267, allocations: 24.22 kB / 1.354 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.267, allocations: 249.1 kB / 1.354 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.267, allocations: 8.766 kB / 1.354 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/1.267, allocations: 4 kB / 1.354 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/1.267, allocations: 149.6 kB / 1.354 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.267, allocations: 0.75 kB / 1.354 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.268, allocations: 0 / 1.354 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/1.268, allocations: 12 kB / 1.354 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/1.268, allocations: 155.9 kB / 1.354 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/1.269, allocations: 468 kB / 1.355 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.269, allocations: 178.5 kB / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/1.269, allocations: 1.219 kB / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.269, allocations: 35.66 kB / 1.355 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/1.269, allocations: 0 / 1.355 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008594/1.27, allocations: 326.9 kB / 1.355 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/1.27, allocations: 55.41 kB / 1.356 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/1.27, allocations: 192.2 kB / 1.356 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/1.271, allocations: 29.7 kB / 1.356 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/1.271, allocations: 116.1 kB / 1.356 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/1.271, allocations: 47.3 kB / 1.356 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.271, allocations: 0 / 1.356 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.271, allocations: 326.8 kB / 1.356 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/1.271, allocations: 87.92 kB / 1.356 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.271, allocations: 85.19 kB / 1.356 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/1.272, allocations: 84.88 kB / 1.356 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.272, allocations: 4 kB / 1.356 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005544/1.272, allocations: 234.7 kB / 1.357 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.272, allocations: 10.19 kB / 1.357 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.272, allocations: 0 / 1.357 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.272, allocations: 0 / 1.357 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.272, allocations: 43.92 kB / 1.357 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.272, allocations: 0.5469 kB / 1.357 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/1.273, allocations: 28.5 kB / 1.357 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/1.273, allocations: 7.938 kB / 1.357 GB, free: 12.84 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 (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.0001379/1.273, allocations: 127.7 kB / 1.357 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/1.273, allocations: 23.73 kB / 1.357 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/1.273, allocations: 25.84 kB / 1.357 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.273, allocations: 3.984 kB / 1.357 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.273, allocations: 3.953 kB / 1.357 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.273, allocations: 3.984 kB / 1.357 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.273, allocations: 270.3 kB / 1.357 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.273, allocations: 0 / 1.357 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/1.274, allocations: 39.97 kB / 1.357 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.274, allocations: 0 / 1.357 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/1.274, allocations: 11.98 kB / 1.357 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.274, allocations: 0.6875 kB / 1.357 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.274, allocations: 0 / 1.357 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/1.274, allocations: 335.1 kB / 1.358 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.274, allocations: 108.8 kB / 1.358 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/1.274, allocations: 4 kB / 1.358 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.275, allocations: 19.98 kB / 1.358 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/1.275, allocations: 12.61 kB / 1.358 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/1.275, allocations: 7.984 kB / 1.358 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000138/1.275, allocations: 152.5 kB / 1.358 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/1.275, allocations: 0.6562 kB / 1.358 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003203/1.275, allocations: 47.89 kB / 1.358 GB, free: 11.57 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 (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.001083/1.276, allocations: 0.9099 MB / 1.359 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005459/1.277, allocations: 191.9 kB / 1.359 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.277, allocations: 2.812 kB / 1.359 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/1.277, allocations: 107.9 kB / 1.359 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/1.277, allocations: 20.42 kB / 1.359 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/1.28, allocations: 1.317 MB / 1.36 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.28, allocations: 0.7277 MB / 1.361 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002014/1.28, allocations: 50.55 kB / 1.361 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.28, allocations: 59.41 kB / 1.361 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/1.28, allocations: 0 / 1.361 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/1.298, allocations: 4.393 MB / 1.365 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.298, allocations: 204.8 kB / 1.366 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/3.217, allocations: 4.062 kB / 1.366 GB, free: 3.645 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)