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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1355/0.1355, allocations: 4.624 MB / 294.7 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.91 kB / 356.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08019/0.08126, allocations: 50.51 MB / 406.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003118/0.08441, allocations: 2.373 MB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.08474, allocations: 155.4 kB / 409.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.08482, allocations: 7.938 kB / 409.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.08494, allocations: 23.84 kB / 409.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.08504, allocations: 43.67 kB / 409.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.08519, allocations: 39.98 kB / 409.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.08541, allocations: 203.7 kB / 409.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.08566, allocations: 156 kB / 409.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.08574, allocations: 67.78 kB / 409.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.08584, allocations: 71.7 kB / 409.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.08588, allocations: 23.94 kB / 409.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.08591, allocations: 20 kB / 409.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.08596, allocations: 43.86 kB / 409.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/0.08605, allocations: 83.66 kB / 409.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.08623, allocations: 211.6 kB / 410.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.08624, allocations: 4 kB / 410.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08625, allocations: 0 / 410.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.08626, allocations: 0 / 410.1 MB, free: 12.72 MB / 350.1 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.0005417/0.08681, allocations: 453.4 kB / 410.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.08685, allocations: 12.03 kB / 410.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.0869, allocations: 54.67 kB / 410.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.08694, allocations: 16.75 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.08714, allocations: 212.1 kB / 410.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.08716, allocations: 12.38 kB / 410.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.08719, allocations: 16.38 kB / 410.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.08747, allocations: 189 kB / 411.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.08748, allocations: 3.938 kB / 411.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.0875, allocations: 8 kB / 411.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.08751, allocations: 4 kB / 411.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.08767, allocations: 92.8 kB / 411.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.08848, allocations: 0.7558 MB / 411.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.08858, allocations: 58.52 kB / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.08864, allocations: 40.97 kB / 412 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.08866, allocations: 0 / 412 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.08869, allocations: 30.56 kB / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.08869, allocations: 0 / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001969/0.08889, allocations: 101.7 kB / 412.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.08893, allocations: 55.41 kB / 412.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.08908, allocations: 178 kB / 412.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.0891, allocations: 33.69 kB / 412.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.08918, allocations: 139.5 kB / 412.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.0892, allocations: 23.64 kB / 412.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.08925, allocations: 29.72 kB / 412.6 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.08936, allocations: 322.8 kB / 412.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.08942, allocations: 36.05 kB / 413 MB, free: 9.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.08949, allocations: 74.86 kB / 413 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.08963, allocations: 122.7 kB / 413.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.08964, allocations: 0 / 413.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001737/0.08982, allocations: 129.5 kB / 413.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.08984, allocations: 11.94 kB / 413.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.08985, allocations: 3.938 kB / 413.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.08986, allocations: 8.219 kB / 413.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.09001, allocations: 27.98 kB / 413.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.09003, allocations: 4 kB / 413.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.09011, allocations: 19.78 kB / 413.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.09013, allocations: 4 kB / 413.4 MB, free: 9.188 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.09022, allocations: 137.8 kB / 413.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.09025, allocations: 11.81 kB / 413.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.09029, allocations: 20.72 kB / 413.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.0903, allocations: 0 / 413.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0903, allocations: 0 / 413.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.09031, allocations: 3.938 kB / 413.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.09054, allocations: 237.5 kB / 413.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09054, allocations: 0 / 413.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.09064, allocations: 15.98 kB / 413.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09065, allocations: 0 / 413.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.09067, allocations: 4 kB / 413.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09067, allocations: 0 / 413.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09068, allocations: 0 / 413.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.09089, allocations: 211.3 kB / 414 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.09094, allocations: 92.94 kB / 414.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.09096, allocations: 4 kB / 414.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.09104, allocations: 4 kB / 414.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.09107, allocations: 3.938 kB / 414.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.09108, allocations: 8.062 kB / 414.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.09117, allocations: 127.2 kB / 414.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09118, allocations: 4.062 kB / 414.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.09142, allocations: 24 kB / 414.3 MB, free: 8.199 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004096/0.09183, allocations: 0.7395 MB / 415 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.09198, allocations: 80.28 kB / 415.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.09199, allocations: 8.125 kB / 415.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.09204, allocations: 27.94 kB / 415.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.09231, allocations: 19.92 kB / 415.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.09402, allocations: 1.901 MB / 417 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.09428, allocations: 0.7162 MB / 417.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.09435, allocations: 12.64 kB / 417.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.09442, allocations: 39.42 kB / 417.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09442, allocations: 0 / 417.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.1065, allocations: 2.639 MB / 420.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.1068, allocations: 196 kB / 420.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.764, allocations: 0 / 420.6 MB, free: 1.691 MB / 350.1 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/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)