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.789/1.789, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001184/0.001184, allocations: 180.3 kB / 371.6 MB, free: 3.348 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.613/1.613, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.00091/0.0009104, allocations: 94.19 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.933e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2545, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.31, allocations: 364 MB / 1.335 GB, free: 156 kB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.31, allocations: 85.64 kB / 1.335 GB, free: 112 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.02529/1.336, allocations: 9.495 MB / 1.345 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/1.336, allocations: 0 / 1.345 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.336, allocations: 4 kB / 1.345 GB, free: 8.469 MB / 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.000812/1.336, allocations: 464.6 kB / 1.345 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.337, allocations: 8.031 kB / 1.345 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/1.337, allocations: 42.23 kB / 1.345 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/1.337, allocations: 19.81 kB / 1.345 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/1.337, allocations: 240.5 kB / 1.345 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.337, allocations: 0 / 1.345 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/1.337, allocations: 4 kB / 1.345 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/1.338, allocations: 126.7 kB / 1.346 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.338, allocations: 4 kB / 1.346 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.338, allocations: 2.953 kB / 1.346 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/1.338, allocations: 8 kB / 1.346 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/1.338, allocations: 97.17 kB / 1.346 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/1.339, allocations: 463.3 kB / 1.346 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/1.339, allocations: 149.5 kB / 1.346 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.339, allocations: 75.17 kB / 1.346 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/1.339, allocations: 7.438 kB / 1.346 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/1.339, allocations: 35.98 kB / 1.346 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/1.339, allocations: 0 / 1.346 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0004509/1.34, allocations: 167.5 kB / 1.347 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.34, allocations: 51.41 kB / 1.347 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.34, allocations: 193.1 kB / 1.347 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.34, allocations: 26.83 kB / 1.347 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.34, allocations: 131 kB / 1.347 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/1.34, allocations: 38.58 kB / 1.347 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/1.34, allocations: 0 / 1.347 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.34, allocations: 330 kB / 1.347 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/1.341, allocations: 54.47 kB / 1.347 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/1.341, allocations: 45.86 kB / 1.347 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/1.341, allocations: 56.41 kB / 1.347 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.341, allocations: 4 kB / 1.347 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000329/1.341, allocations: 172.2 kB / 1.348 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.341, allocations: 4 kB / 1.348 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.341, allocations: 0 / 1.348 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.341, allocations: 8.516 kB / 1.348 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.341, allocations: 39.91 kB / 1.348 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.342, allocations: 0 / 1.348 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/1.342, allocations: 34.36 kB / 1.348 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.342, allocations: 4 kB / 1.348 GB, free: 5.633 MB / 0.9167 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 0.0001148/1.342, allocations: 106.1 kB / 1.348 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/1.342, allocations: 21.78 kB / 1.348 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/1.342, allocations: 29.19 kB / 1.348 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.342, allocations: 4 kB / 1.348 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.342, allocations: 3.953 kB / 1.348 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.342, allocations: 4 kB / 1.348 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/1.342, allocations: 261.5 kB / 1.348 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.342, allocations: 0 / 1.348 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/1.343, allocations: 43.89 kB / 1.348 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/1.343, allocations: 0.6875 kB / 1.348 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/1.343, allocations: 6.875 kB / 1.348 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.343, allocations: 0 / 1.348 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.343, allocations: 0 / 1.348 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/1.343, allocations: 279.7 kB / 1.348 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.343, allocations: 108.6 kB / 1.349 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/1.343, allocations: 3.562 kB / 1.349 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/1.344, allocations: 15.98 kB / 1.349 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/1.344, allocations: 11.36 kB / 1.349 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/1.344, allocations: 7.984 kB / 1.349 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001619/1.344, allocations: 158.3 kB / 1.349 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.344, allocations: 0 / 1.349 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003345/1.344, allocations: 47.73 kB / 1.349 GB, free: 4.59 MB / 0.9167 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.0008834/1.345, allocations: 0.8507 MB / 1.35 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003187/1.345, allocations: 131.1 kB / 1.35 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.345, allocations: 3.828 kB / 1.35 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.346, allocations: 73.09 kB / 1.35 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.346, allocations: 23.11 kB / 1.35 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/1.347, allocations: 296.4 kB / 1.35 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/1.347, allocations: 0.7316 MB / 1.351 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.347, allocations: 50.42 kB / 1.351 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.347, allocations: 55.59 kB / 1.351 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of SimCode: time 9.32e-07/1.347, allocations: 4 kB / 1.351 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/1.365, allocations: 4.584 MB / 1.355 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/1.365, allocations: 175.5 kB / 1.356 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.429, allocations: 4 kB / 1.356 GB, free: 13.85 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)