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.001054/0.001054, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 197 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1359/0.1359, allocations: 4.631 MB / 295 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 356.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08525, allocations: 50.51 MB / 407.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.00374/0.08903, allocations: 2.856 MB / 410 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.09001, allocations: 0.6778 MB / 410.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.09013, allocations: 8 kB / 410.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.09028, allocations: 43.52 kB / 410.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.09044, allocations: 87.2 kB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.0907, allocations: 103.8 kB / 410.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.09105, allocations: 378.6 kB / 411.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.09136, allocations: 200.4 kB / 411.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.09154, allocations: 143.6 kB / 411.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.09172, allocations: 155.4 kB / 411.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.09178, allocations: 43.94 kB / 411.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.09185, allocations: 40 kB / 411.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.09192, allocations: 71.77 kB / 411.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.09208, allocations: 167.3 kB / 412.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.0924, allocations: 395 kB / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.09241, allocations: 0 / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09241, allocations: 0 / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.09242, allocations: 0 / 412.5 MB, free: 10.51 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.001048/0.09348, allocations: 0.6332 MB / 413.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.09352, allocations: 12.03 kB / 413.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.09359, allocations: 58.73 kB / 413.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.09366, allocations: 32.56 kB / 413.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.09392, allocations: 272.6 kB / 413.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.09395, allocations: 16.94 kB / 413.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.094, allocations: 24.38 kB / 413.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.09458, allocations: 315.8 kB / 413.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.0946, allocations: 0 / 413.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.09463, allocations: 12 kB / 413.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.09465, allocations: 4 kB / 413.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.09523, allocations: 246 kB / 414.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.09654, allocations: 1.009 MB / 415.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.09722, allocations: 278.6 kB / 415.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.09753, allocations: 148.8 kB / 415.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.09757, allocations: 4 kB / 415.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.09793, allocations: 180.2 kB / 415.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.09794, allocations: 0 / 415.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008887/0.09884, allocations: 379 kB / 416.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.09888, allocations: 55.41 kB / 416.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.09907, allocations: 220.9 kB / 416.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.09911, allocations: 33.7 kB / 416.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.09922, allocations: 168.1 kB / 416.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.09929, allocations: 67 kB / 416.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.09938, allocations: 57.61 kB / 416.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.09951, allocations: 334.8 kB / 417 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.09979, allocations: 115.9 kB / 417.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1001, allocations: 139.4 kB / 417.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.1006, allocations: 290.6 kB / 417.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1007, allocations: 0 / 417.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000692/0.1014, allocations: 353.9 kB / 417.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.1014, allocations: 37.69 kB / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1014, allocations: 0 / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1014, allocations: 4 kB / 417.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.1018, allocations: 63.89 kB / 418 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1018, allocations: 4.094 kB / 418 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.102, allocations: 31.83 kB / 418 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.102, allocations: 15.98 kB / 418 MB, free: 4.676 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.0001345/0.1022, allocations: 154 kB / 418.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1022, allocations: 23.66 kB / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.1029, allocations: 304.6 kB / 418.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1029, allocations: 4 kB / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1029, allocations: 0 / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1029, allocations: 0 / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1033, allocations: 377.2 kB / 418.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1033, allocations: 0 / 418.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.1036, allocations: 63.83 kB / 418.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1036, allocations: 4 kB / 418.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1036, allocations: 4 kB / 418.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1036, allocations: 0 / 418.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1036, allocations: 3.984 kB / 418.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.1045, allocations: 458 kB / 419.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1046, allocations: 104.8 kB / 419.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1046, allocations: 3.984 kB / 419.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1048, allocations: 19.98 kB / 419.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.1049, allocations: 19.97 kB / 419.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1049, allocations: 8 kB / 419.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1051, allocations: 168.4 kB / 419.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1051, allocations: 0 / 419.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1053, allocations: 67.75 kB / 419.8 MB, free: 2.82 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.001135/0.1065, allocations: 0.9905 MB / 420.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.1072, allocations: 331 kB / 421.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1072, allocations: 0 / 421.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.1075, allocations: 132 kB / 421.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1078, allocations: 40.41 kB / 421.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1289/0.2367, allocations: 2.793 MB / 424 MB, free: 47.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.2369, allocations: 0.7622 MB / 424.8 MB, free: 46.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.237, allocations: 27.59 kB / 424.8 MB, free: 46.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.2372, allocations: 81.77 kB / 424.9 MB, free: 46.66 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2372, allocations: 0 / 424.9 MB, free: 46.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2577, allocations: 5.147 MB / 430.1 MB, free: 46.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.587, allocations: 1.75 kB / 430.1 MB, free: 46.25 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)