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.001021/0.001021, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1891/0.1891, allocations: 4.617 MB / 295.7 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 8 kB / 357.8 MB, free: 2.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 51.49 MB / 409.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002578/0.1175, allocations: 1.93 MB / 411.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.118, allocations: 159.4 kB / 411.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1182, allocations: 7.938 kB / 411.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1183, allocations: 19.84 kB / 411.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1185, allocations: 35.7 kB / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1186, allocations: 31.97 kB / 411.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1189, allocations: 191.6 kB / 411.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1192, allocations: 102.9 kB / 411.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1193, allocations: 47.8 kB / 411.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1195, allocations: 51.77 kB / 411.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1195, allocations: 8 kB / 411.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.1195, allocations: 8 kB / 411.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.1196, allocations: 19.92 kB / 411.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.1196, allocations: 61.58 kB / 411.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1198, allocations: 167.8 kB / 412.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1198, allocations: 0 / 412.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1198, allocations: 0 / 412.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1198, allocations: 0 / 412.1 MB, free: 12.04 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.0006359/0.1205, allocations: 426.8 kB / 412.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1205, allocations: 8.031 kB / 412.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.512e-05/0.1206, allocations: 50.55 kB / 412.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1207, allocations: 19.8 kB / 412.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1209, allocations: 214.7 kB / 412.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.121, allocations: 8 kB / 412.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.121, allocations: 20 kB / 412.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1213, allocations: 172.5 kB / 413 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1213, allocations: 11.88 kB / 413 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1214, allocations: 8 kB / 413 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1214, allocations: 4 kB / 413 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1216, allocations: 96.8 kB / 413.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.1226, allocations: 0.7519 MB / 413.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1227, allocations: 62.5 kB / 413.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1227, allocations: 28.98 kB / 414 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1228, allocations: 4 kB / 414 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1228, allocations: 34.56 kB / 414 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1228, allocations: 0 / 414 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002273/0.123, allocations: 105.5 kB / 414.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1231, allocations: 51.41 kB / 414.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1232, allocations: 174.1 kB / 414.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1233, allocations: 25.7 kB / 414.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.1233, allocations: 143.4 kB / 414.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1234, allocations: 23.66 kB / 414.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1234, allocations: 4 kB / 414.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1235, allocations: 326.8 kB / 414.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.1236, allocations: 27.98 kB / 414.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.1237, allocations: 74.86 kB / 414.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.1237, allocations: 40 kB / 415 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1238, allocations: 3.938 kB / 415 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002105/0.124, allocations: 145.4 kB / 415.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.124, allocations: 4 kB / 415.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.124, allocations: 4.219 kB / 415.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.124, allocations: 11.94 kB / 415.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1242, allocations: 31.92 kB / 415.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1242, allocations: 0 / 415.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.1243, allocations: 19.83 kB / 415.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1243, allocations: 12 kB / 415.2 MB, free: 8.664 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.1244, allocations: 125.8 kB / 415.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1245, allocations: 15.84 kB / 415.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.1245, allocations: 16.7 kB / 415.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1245, allocations: 256 / 415.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1245, allocations: 3.953 kB / 415.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1245, allocations: 8 kB / 415.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1248, allocations: 237.4 kB / 415.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1248, allocations: 0 / 415.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.1249, allocations: 16 kB / 415.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1249, allocations: 4 kB / 415.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1249, allocations: 3.984 kB / 415.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1249, allocations: 0 / 415.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.1249, allocations: 7.938 kB / 415.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1252, allocations: 203.4 kB / 415.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1252, allocations: 85.02 kB / 415.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1252, allocations: 4.031 kB / 415.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.1253, allocations: 7.922 kB / 415.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.1253, allocations: 4 kB / 415.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1254, allocations: 0 / 415.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.585e-05/0.1254, allocations: 131.3 kB / 416.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1255, allocations: 0 / 416.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1257, allocations: 31.91 kB / 416.1 MB, free: 7.68 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 (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.0004836/0.1262, allocations: 0.7281 MB / 416.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1264, allocations: 76.05 kB / 416.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1264, allocations: 0 / 416.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.1264, allocations: 23.98 kB / 416.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1268, allocations: 20 kB / 416.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1281, allocations: 0.9169 MB / 417.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1284, allocations: 0.7123 MB / 418.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.1285, allocations: 12.64 kB / 418.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.1286, allocations: 43.42 kB / 418.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1286, allocations: 0 / 418.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.1411, allocations: 2.494 MB / 421.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.1413, allocations: 173.3 kB / 421.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/1.926, allocations: 0 / 421.3 MB, free: 2.414 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/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) Environment - environmentSimulation: