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.000965/0.0009649, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001114/0.001114, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1317/0.1317, allocations: 4.619 MB / 294.7 MB, free: 3.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 56.14 kB / 356.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08501, allocations: 50.52 MB / 406.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.00373/0.08878, allocations: 3.017 MB / 409.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.0897, allocations: 0.67 MB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.08981, allocations: 4 kB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.08996, allocations: 31.7 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.09012, allocations: 79.39 kB / 410.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.09036, allocations: 79.94 kB / 410.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.09072, allocations: 386.5 kB / 410.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.09101, allocations: 204.4 kB / 411.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.09119, allocations: 151.5 kB / 411.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.09136, allocations: 147.4 kB / 411.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.09141, allocations: 44 kB / 411.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.09147, allocations: 40 kB / 411.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.09154, allocations: 75.77 kB / 411.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.09167, allocations: 167.2 kB / 411.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.09199, allocations: 387.1 kB / 412.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.092, allocations: 0 / 412.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.09201, allocations: 0 / 412.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.09203, allocations: 7.938 kB / 412.1 MB, free: 10.75 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.0009919/0.09302, allocations: 0.637 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.09306, allocations: 8.031 kB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.09312, allocations: 58.72 kB / 412.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.09319, allocations: 32.56 kB / 412.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.09344, allocations: 272.7 kB / 413.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.09346, allocations: 16.94 kB / 413.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.09351, allocations: 28.38 kB / 413.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.09408, allocations: 315.7 kB / 413.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.0941, allocations: 0 / 413.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.09412, allocations: 8 kB / 413.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.09414, allocations: 8 kB / 413.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.09468, allocations: 242.1 kB / 413.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.09593, allocations: 1.005 MB / 414.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.09658, allocations: 279.8 kB / 415 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.09688, allocations: 144.8 kB / 415.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.09691, allocations: 0 / 415.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.09727, allocations: 184.7 kB / 415.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.966e-06/0.09729, allocations: 0 / 415.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008526/0.09814, allocations: 378.4 kB / 415.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.09819, allocations: 59.41 kB / 415.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.09837, allocations: 220.9 kB / 415.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.09841, allocations: 33.7 kB / 416 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.0985, allocations: 164.1 kB / 416.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.09857, allocations: 70.98 kB / 416.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.09866, allocations: 57.61 kB / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.09876, allocations: 334.8 kB / 416.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.09904, allocations: 115.9 kB / 416.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.09931, allocations: 139.4 kB / 416.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.09984, allocations: 285.9 kB / 417.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.09985, allocations: 0 / 417.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006562/0.1005, allocations: 361.8 kB / 417.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1006, allocations: 33.7 kB / 417.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1006, allocations: 4 kB / 417.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1006, allocations: 4 kB / 417.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1009, allocations: 63.95 kB / 417.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1009, allocations: 12.02 kB / 417.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1011, allocations: 35.81 kB / 417.6 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1012, allocations: 8 kB / 417.6 MB, free: 4.914 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.0001359/0.1013, allocations: 154 kB / 417.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1013, allocations: 23.66 kB / 417.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/0.102, allocations: 309.1 kB / 418.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.102, allocations: 4 kB / 418.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.102, allocations: 0 / 418.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.102, allocations: 0 / 418.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.1023, allocations: 369.3 kB / 418.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1023, allocations: 0 / 418.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.1026, allocations: 67.83 kB / 418.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1027, allocations: 4 kB / 418.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1027, allocations: 0 / 418.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1027, allocations: 0 / 418.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1027, allocations: 4 kB / 418.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.1036, allocations: 455.6 kB / 419 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1036, allocations: 104.7 kB / 419.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1037, allocations: 4 kB / 419.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1039, allocations: 23.97 kB / 419.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.1039, allocations: 19.97 kB / 419.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.104, allocations: 8 kB / 419.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1041, allocations: 168.5 kB / 419.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1041, allocations: 0 / 419.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1044, allocations: 67.75 kB / 419.4 MB, free: 3.062 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.001098/0.1055, allocations: 0.9869 MB / 420.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.1061, allocations: 331 kB / 420.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1062, allocations: 4.25 kB / 420.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1064, allocations: 139.1 kB / 420.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1067, allocations: 44.34 kB / 420.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1414/0.2481, allocations: 2.881 MB / 423.7 MB, free: 47.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2484, allocations: 0.7622 MB / 424.5 MB, free: 46.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.2485, allocations: 29 kB / 424.5 MB, free: 46.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2487, allocations: 79.72 kB / 424.6 MB, free: 46.8 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2487, allocations: 0 / 424.6 MB, free: 46.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.2651, allocations: 4.947 MB / 429.6 MB, free: 46.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.2653, allocations: 200.6 kB / 429.8 MB, free: 46.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.929, allocations: 2.078 kB / 429.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)