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.004357/0.004357, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001113/0.001113, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 5.125/5.125, allocations: 4.636 MB / 295.2 MB, free: 3.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 407.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 50.51 MB / 458.3 MB, free: 19.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002579/0.306, allocations: 2.201 MB / 460.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.3063, allocations: 166.8 kB / 460.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.3063, allocations: 2.812 kB / 460.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.405e-05/0.3064, allocations: 26.25 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.3065, allocations: 44.09 kB / 460.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.3067, allocations: 50.73 kB / 460.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3068, allocations: 207.8 kB / 461 MB, free: 17.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3071, allocations: 154.2 kB / 461.1 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.3071, allocations: 66.42 kB / 461.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.3072, allocations: 73.14 kB / 461.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3073, allocations: 23.59 kB / 461.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.371e-05/0.3073, allocations: 22.78 kB / 461.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.3073, allocations: 38.72 kB / 461.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.3074, allocations: 87.64 kB / 461.4 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3076, allocations: 212.5 kB / 461.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3076, allocations: 4.688 kB / 461.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3076, allocations: 0 / 461.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3076, allocations: 3.062 kB / 461.7 MB, free: 17.64 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.0004528/0.3081, allocations: 452.8 kB / 462.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3081, allocations: 10.23 kB / 462.1 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3082, allocations: 45.44 kB / 462.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.3082, allocations: 21.66 kB / 462.2 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3084, allocations: 212 kB / 462.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3084, allocations: 11.41 kB / 462.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3084, allocations: 14.05 kB / 462.4 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3087, allocations: 183.5 kB / 462.6 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3087, allocations: 6.812 kB / 462.6 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3087, allocations: 4 kB / 462.6 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3087, allocations: 2.938 kB / 462.6 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3089, allocations: 106.4 kB / 462.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.3097, allocations: 0.7635 MB / 463.5 MB, free: 16.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.415e-05/0.3098, allocations: 62.75 kB / 463.5 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.3098, allocations: 37.62 kB / 463.6 MB, free: 16.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.3098, allocations: 0.7969 kB / 463.6 MB, free: 16.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3098, allocations: 34.56 kB / 463.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3099, allocations: 3 kB / 463.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001997/0.3101, allocations: 98.34 kB / 463.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.3101, allocations: 51.41 kB / 463.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3102, allocations: 186 kB / 463.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.3102, allocations: 26.36 kB / 464 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.3103, allocations: 139.8 kB / 464.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3103, allocations: 24.72 kB / 464.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.3104, allocations: 28.84 kB / 464.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.3104, allocations: 325.1 kB / 464.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.3105, allocations: 22.61 kB / 464.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.3106, allocations: 82.62 kB / 464.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3107, allocations: 114.8 kB / 464.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3107, allocations: 1.469 kB / 464.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001847/0.3109, allocations: 137.4 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3109, allocations: 10.53 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3109, allocations: 0 / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3109, allocations: 10.94 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3111, allocations: 27.38 kB / 464.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3111, allocations: 4.5 kB / 464.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.3111, allocations: 26.12 kB / 464.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3112, allocations: 5.812 kB / 464.9 MB, free: 14.93 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 7.314e-05/0.3112, allocations: 133 kB / 465 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3113, allocations: 7.016 kB / 465 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3113, allocations: 14 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3113, allocations: 3.062 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3113, allocations: 4.797 kB / 465.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3113, allocations: 3.938 kB / 465.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3115, allocations: 232.6 kB / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3115, allocations: 0 / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.3116, allocations: 13.61 kB / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3116, allocations: 3.062 kB / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3117, allocations: 256 / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3117, allocations: 4.703 kB / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3117, allocations: 0 / 465.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3118, allocations: 220.6 kB / 465.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3119, allocations: 90.11 kB / 465.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.3119, allocations: 0 / 465.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.312, allocations: 0 / 465.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.312, allocations: 8.609 kB / 465.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.312, allocations: 7.938 kB / 465.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.3121, allocations: 123.1 kB / 465.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3121, allocations: 0 / 465.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.3124, allocations: 32.08 kB / 465.8 MB, free: 14.16 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.0002889/0.3127, allocations: 0.7394 MB / 466.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3128, allocations: 66.86 kB / 466.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3128, allocations: 0 / 466.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.3128, allocations: 29.39 kB / 466.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3131, allocations: 30.67 kB / 466.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3146, allocations: 1.853 MB / 468.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3148, allocations: 0.7189 MB / 469.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.3148, allocations: 11.69 kB / 469.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.3149, allocations: 44.67 kB / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3149, allocations: 0 / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5504/0.8653, allocations: 2.786 MB / 472.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.837, allocations: 9.438 kB / 472.1 MB, free: 10.6 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 & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Design_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)