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.0009807/0.0009808, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005704/0.005705, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.511/1.511, allocations: 4.623 MB / 296 MB, free: 3.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004361, allocations: 16 kB / 358.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 51.49 MB / 409.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002061/0.1072, allocations: 2.007 MB / 411.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000286/0.1075, allocations: 159.4 kB / 412 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.1076, allocations: 7.938 kB / 412.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.36e-05/0.1077, allocations: 15.91 kB / 412.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.1078, allocations: 43.62 kB / 412.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1079, allocations: 43.97 kB / 412.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1081, allocations: 191.7 kB / 412.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1083, allocations: 136.7 kB / 412.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1084, allocations: 47.8 kB / 412.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1085, allocations: 55.7 kB / 412.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1085, allocations: 8 kB / 412.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.1085, allocations: 11.94 kB / 412.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1086, allocations: 31.86 kB / 412.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.1087, allocations: 93.33 kB / 412.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1088, allocations: 195.6 kB / 412.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1089, allocations: 4 kB / 412.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1089, allocations: 0 / 412.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1089, allocations: 0 / 412.9 MB, free: 11.49 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.0004774/0.1094, allocations: 415.1 kB / 413.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.1094, allocations: 12.03 kB / 413.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1094, allocations: 50.73 kB / 413.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1095, allocations: 16.75 kB / 413.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1097, allocations: 220 kB / 413.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1097, allocations: 12.38 kB / 413.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1097, allocations: 12.38 kB / 413.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.11, allocations: 185 kB / 413.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.11, allocations: 11.88 kB / 413.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.11, allocations: 8 kB / 413.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.11, allocations: 4 kB / 413.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1102, allocations: 96.8 kB / 413.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.111, allocations: 0.7557 MB / 414.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.1111, allocations: 54.52 kB / 414.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1112, allocations: 36.97 kB / 414.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.1112, allocations: 0 / 414.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1112, allocations: 38.55 kB / 414.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.1112, allocations: 0 / 414.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001848/0.1114, allocations: 97.59 kB / 414.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1114, allocations: 55.41 kB / 415 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1116, allocations: 170.1 kB / 415.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1116, allocations: 29.7 kB / 415.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1117, allocations: 139.6 kB / 415.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1117, allocations: 27.58 kB / 415.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1117, allocations: 17.72 kB / 415.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1118, allocations: 326.8 kB / 415.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.1119, allocations: 27.98 kB / 415.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.112, allocations: 78.11 kB / 415.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1121, allocations: 118.7 kB / 415.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1121, allocations: 4 kB / 415.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002007/0.1123, allocations: 141.3 kB / 416 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.1123, allocations: 4 kB / 416 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1124, allocations: 4 kB / 416 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.1124, allocations: 3.938 kB / 416 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1125, allocations: 27.94 kB / 416.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1125, allocations: 15.98 kB / 416.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.1126, allocations: 23.78 kB / 416.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1126, allocations: 4.219 kB / 416.1 MB, free: 7.996 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 0.0001014/0.1127, allocations: 137.8 kB / 416.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1128, allocations: 16.14 kB / 416.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.1128, allocations: 12.72 kB / 416.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1128, allocations: 4 kB / 416.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1128, allocations: 4 kB / 416.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1128, allocations: 3.938 kB / 416.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1131, allocations: 233.5 kB / 416.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1131, allocations: 0 / 416.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.1132, allocations: 15.98 kB / 416.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1132, allocations: 4 kB / 416.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1132, allocations: 0 / 416.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1132, allocations: 0 / 416.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1132, allocations: 0 / 416.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1135, allocations: 211.3 kB / 416.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1135, allocations: 92.94 kB / 416.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1135, allocations: 0 / 416.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1136, allocations: 8.062 kB / 416.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1136, allocations: 7.938 kB / 416.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1137, allocations: 0 / 416.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.1138, allocations: 131.2 kB / 417 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1138, allocations: 0 / 417 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.114, allocations: 24 kB / 417 MB, free: 7.012 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.000453/0.1145, allocations: 0.7434 MB / 417.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1146, allocations: 71.91 kB / 417.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1146, allocations: 4 kB / 417.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.1147, allocations: 23.94 kB / 417.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.115, allocations: 26.03 kB / 417.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1169, allocations: 1.917 MB / 419.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1173, allocations: 0.7201 MB / 420.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.1174, allocations: 12.64 kB / 420.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.1174, allocations: 43.42 kB / 420.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.665e-06/0.1174, allocations: 0 / 420.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/0.3892, allocations: 2.492 MB / 423 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.3894, allocations: 188.1 kB / 423.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.053, allocations: 0 / 423.2 MB, free: 0.6406 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)