Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02486/0.02486, allocations: 4.536 MB / 17.8 MB, free: 2.512 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.4 MB / 240.8 MB, free: 8.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008399, allocations: 94.42 kB / 292.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.081e-05, allocations: 3.984 kB / 352.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 51.48 MB / 403.8 MB, free: 28.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09808/0.3695, allocations: 76.76 MB / 480.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.3697, allocations: 47.98 kB / 480.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.3811, allocations: 5.088 MB / 485.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3811, allocations: 0 / 485.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3811, allocations: 4 kB / 485.7 MB, free: 10.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005391/0.3817, allocations: 406.1 kB / 486.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3817, allocations: 8.031 kB / 486.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.3818, allocations: 50.55 kB / 486.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.3819, allocations: 15.81 kB / 486.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3821, allocations: 226.9 kB / 486.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3822, allocations: 8 kB / 486.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3822, allocations: 19.98 kB / 486.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3825, allocations: 176.6 kB / 486.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3826, allocations: 0 / 486.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3826, allocations: 4 kB / 486.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3826, allocations: 4 kB / 486.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.3828, allocations: 96.83 kB / 486.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3838, allocations: 0.7596 MB / 487.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.384, allocations: 58.52 kB / 487.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.384, allocations: 32.98 kB / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.384, allocations: 0 / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3841, allocations: 38.5 kB / 487.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3841, allocations: 0 / 487.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001986/0.3843, allocations: 89.45 kB / 487.6 MB, free: 8.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3843, allocations: 51.41 kB / 487.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3845, allocations: 154.4 kB / 487.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3845, allocations: 33.64 kB / 487.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.3846, allocations: 139.5 kB / 488 MB, free: 7.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3846, allocations: 19.72 kB / 488 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/0.3847, allocations: 0 / 488 MB, free: 7.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3848, allocations: 322.8 kB / 488.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.3848, allocations: 24 kB / 488.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.3849, allocations: 83.67 kB / 488.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.385, allocations: 39.98 kB / 488.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.385, allocations: 4 kB / 488.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001923/0.3852, allocations: 137.4 kB / 488.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3852, allocations: 4 kB / 488.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3852, allocations: 4 kB / 488.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3852, allocations: 0 / 488.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3854, allocations: 35.88 kB / 488.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3854, allocations: 4 kB / 488.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.3855, allocations: 20.06 kB / 488.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3855, allocations: 11.98 kB / 488.7 MB, free: 7.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.532e-05/0.3856, allocations: 120.8 kB / 488.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.3857, allocations: 7.906 kB / 488.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.3857, allocations: 12.62 kB / 488.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3857, allocations: 0 / 488.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3857, allocations: 3.953 kB / 488.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3857, allocations: 0 / 488.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.386, allocations: 241.5 kB / 489.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.386, allocations: 0 / 489.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3861, allocations: 15.98 kB / 489.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3861, allocations: 4 kB / 489.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3861, allocations: 8.062 kB / 489.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3861, allocations: 0 / 489.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3861, allocations: 0 / 489.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.3864, allocations: 207.4 kB / 489.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.3864, allocations: 92.97 kB / 489.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3865, allocations: 3.938 kB / 489.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3865, allocations: 4 kB / 489.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.3866, allocations: 4 kB / 489.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3866, allocations: 0 / 489.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.3867, allocations: 119.3 kB / 489.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3867, allocations: 0 / 489.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.3869, allocations: 43.78 kB / 489.6 MB, free: 6.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004649/0.3874, allocations: 0.7321 MB / 490.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.3876, allocations: 67.88 kB / 490.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3876, allocations: 0 / 490.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.3876, allocations: 24.5 kB / 490.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3878, allocations: 27.92 kB / 490.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.3885, allocations: 287.1 kB / 490.7 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3888, allocations: 0.724 MB / 491.4 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3889, allocations: 12.77 kB / 491.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.389, allocations: 35.42 kB / 491.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.389, allocations: 0 / 491.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.4038, allocations: 2.463 MB / 493.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.404, allocations: 144.4 kB / 494.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.861, allocations: 0 / 494.1 MB, free: 1.684 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)