Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.005113/0.005112, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001034/0.001034, allocations: 201 kB / 16.68 MB, free: 5.969 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.431/1.431, 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.089/5.089, allocations: 4.632 MB / 295.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 407.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2868, allocations: 50.5 MB / 458.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003229/0.2901, allocations: 2.866 MB / 461.2 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.291, allocations: 0.6724 MB / 461.8 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2911, allocations: 6 kB / 461.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2913, allocations: 45.38 kB / 461.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2915, allocations: 84 kB / 462 MB, free: 17.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2918, allocations: 103.3 kB / 462.1 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2921, allocations: 380.2 kB / 462.5 MB, free: 17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.2924, allocations: 202 kB / 462.7 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.2926, allocations: 151.6 kB / 462.8 MB, free: 16.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2928, allocations: 156.9 kB / 463 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.2928, allocations: 40.03 kB / 463 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.2929, allocations: 37.94 kB / 463 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.293, allocations: 77.09 kB / 463.1 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2931, allocations: 174.7 kB / 463.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.2935, allocations: 391 kB / 463.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2935, allocations: 0 / 463.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2935, allocations: 3.031 kB / 463.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2935, allocations: 0 / 463.7 MB, free: 16.41 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009711/0.2945, allocations: 0.6419 MB / 464.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2946, allocations: 9.266 kB / 464.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2946, allocations: 61.38 kB / 464.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.2947, allocations: 38.41 kB / 464.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.2949, allocations: 273.3 kB / 464.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2949, allocations: 21.31 kB / 464.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.295, allocations: 24.66 kB / 464.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.2956, allocations: 316.1 kB / 465 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2956, allocations: 3.938 kB / 465 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2956, allocations: 7 kB / 465 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2956, allocations: 3.219 kB / 465 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.2962, allocations: 248.2 kB / 465.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2975, allocations: 0.9989 MB / 466.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.2982, allocations: 282 kB / 466.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.2985, allocations: 145.8 kB / 466.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2985, allocations: 2.859 kB / 466.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.2989, allocations: 178.5 kB / 466.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.2989, allocations: 0 / 466.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008735/0.2998, allocations: 383.7 kB / 467.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.2998, allocations: 55.62 kB / 467.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3, allocations: 223.6 kB / 467.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3, allocations: 26.83 kB / 467.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.3001, allocations: 168.2 kB / 467.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.3002, allocations: 84.48 kB / 467.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.3002, allocations: 47.94 kB / 467.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.3003, allocations: 330.9 kB / 468.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.3006, allocations: 114.4 kB / 468.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.3009, allocations: 144.6 kB / 468.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.3015, allocations: 287.6 kB / 468.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3015, allocations: 0 / 468.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000684/0.3022, allocations: 357.8 kB / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3022, allocations: 39.17 kB / 469.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3022, allocations: 1.312 kB / 469.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3022, allocations: 10.44 kB / 469.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.3025, allocations: 64.19 kB / 469.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3025, allocations: 2.203 kB / 469.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.3027, allocations: 36.09 kB / 469.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3028, allocations: 6.672 kB / 469.2 MB, free: 12.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001154/0.3029, allocations: 157.6 kB / 469.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.3029, allocations: 27.58 kB / 469.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.3036, allocations: 300.4 kB / 469.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3036, allocations: 2.75 kB / 469.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3036, allocations: 4 kB / 469.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3036, allocations: 0.9375 kB / 469.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.304, allocations: 376.4 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.304, allocations: 0.6094 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.3043, allocations: 57.72 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3043, allocations: 2.172 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3043, allocations: 5.984 kB / 470.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3043, allocations: 10 kB / 470.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3043, allocations: 0 / 470.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/0.3052, allocations: 455 kB / 470.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.3053, allocations: 103.7 kB / 470.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3053, allocations: 7.406 kB / 470.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3055, allocations: 20.23 kB / 470.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3056, allocations: 25.19 kB / 470.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3056, allocations: 5.578 kB / 470.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3057, allocations: 160 kB / 470.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3057, allocations: 0 / 470.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.306, allocations: 70.11 kB / 471 MB, free: 11.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001093/0.3071, allocations: 0.9946 MB / 472 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006385/0.3077, allocations: 323 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3078, allocations: 1.438 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.3081, allocations: 129.5 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3083, allocations: 35.75 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.312, allocations: 2.804 MB / 475.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3122, allocations: 0.7636 MB / 476 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3123, allocations: 36.36 kB / 476 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3125, allocations: 79.28 kB / 476.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3125, allocations: 0 / 476.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5533/0.8657, allocations: 5.231 MB / 481.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.368, allocations: 9.156 kB / 481.4 MB, free: 6.941 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_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_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)