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.001034/0.001034, allocations: 173.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02288/0.02289, allocations: 4.547 MB / 12.62 MB, free: 292 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 235.6 MB, free: 2.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008036, allocations: 87.98 kB / 287.6 MB, free: 5.602 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.627e-05, allocations: 0 / 345.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.0945, allocations: 51.49 MB / 396.9 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3851, allocations: 76.1 MB / 473 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001244/0.3852, allocations: 46.34 kB / 473 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.3958, allocations: 5.028 MB / 478.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3958, allocations: 0 / 478.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3958, allocations: 4 kB / 478.1 MB, free: 12.1 MB / 346.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.0003846/0.3962, allocations: 409.1 kB / 478.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3963, allocations: 9.625 kB / 478.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.3963, allocations: 16.33 kB / 478.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3965, allocations: 225.5 kB / 478.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3966, allocations: 4 kB / 478.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3966, allocations: 8 kB / 478.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001718/0.3968, allocations: 85.36 kB / 478.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.397, allocations: 151.9 kB / 478.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.397, allocations: 0 / 478.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.397, allocations: 1.375 kB / 479 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3971, allocations: 4 kB / 479 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.3978, allocations: 0.7177 MB / 479.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.3979, allocations: 58.28 kB / 479.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.398, allocations: 30.23 kB / 479.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.398, allocations: 1.5 kB / 479.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.398, allocations: 34.56 kB / 479.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.398, allocations: 4 kB / 479.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001598/0.3982, allocations: 74.53 kB / 479.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.3982, allocations: 55.36 kB / 479.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.3983, allocations: 131.3 kB / 480.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3983, allocations: 29.64 kB / 480.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3984, allocations: 139.9 kB / 480.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3984, allocations: 25.44 kB / 480.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.3984, allocations: 0 / 480.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.3985, allocations: 328 kB / 480.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.3985, allocations: 25.12 kB / 480.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.3986, allocations: 75.19 kB / 480.7 MB, free: 9.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.3986, allocations: 39.88 kB / 480.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3986, allocations: 4 kB / 480.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001496/0.3988, allocations: 115 kB / 480.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3988, allocations: 8 kB / 480.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3988, allocations: 3.984 kB / 480.8 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3988, allocations: 4.219 kB / 480.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.399, allocations: 36.39 kB / 480.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.399, allocations: 9.266 kB / 480.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3991, allocations: 9.5 kB / 480.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3991, allocations: 4 kB / 480.9 MB, free: 9.562 MB / 346.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 4.625e-05/0.3991, allocations: 116.5 kB / 481 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001002/0.3993, allocations: 73.25 kB / 481.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3993, allocations: 7.906 kB / 481.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.3993, allocations: 21.44 kB / 481.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3993, allocations: 1.406 kB / 481.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3993, allocations: 0 / 481.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3993, allocations: 4 kB / 481.1 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3995, allocations: 200.7 kB / 481.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3995, allocations: 0 / 481.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3996, allocations: 15.38 kB / 481.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3997, allocations: 4 kB / 481.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3997, allocations: 0 / 481.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3997, allocations: 0 / 481.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3997, allocations: 10.83 kB / 481.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3999, allocations: 197.5 kB / 481.5 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.3999, allocations: 90 kB / 481.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3999, allocations: 0 / 481.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.4, allocations: 1.359 kB / 481.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.4, allocations: 5.5 kB / 481.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.4, allocations: 9.672 kB / 481.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.4001, allocations: 111.1 kB / 481.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4001, allocations: 0 / 481.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.4003, allocations: 35.84 kB / 481.8 MB, free: 8.734 MB / 346.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.0002886/0.4006, allocations: 0.7236 MB / 482.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4008, allocations: 65.2 kB / 482.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4008, allocations: 0 / 482.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.4008, allocations: 25.31 kB / 482.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.401, allocations: 14.81 kB / 482.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.4016, allocations: 273.3 kB / 482.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4018, allocations: 0.7229 MB / 483.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.4018, allocations: 16.25 kB / 483.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.4019, allocations: 40.73 kB / 483.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4019, allocations: 0 / 483.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4223, allocations: 1.873 MB / 485.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.4225, allocations: 123.9 kB / 485.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.863, allocations: 0 / 485.6 MB, free: 4.953 MB / 346.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)