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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00122/0.00122, allocations: 194.9 kB / 16.14 MB, free: 6.707 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1344/0.1344, allocations: 4.62 MB / 294.6 MB, free: 3.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 67.83 kB / 356 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09292, allocations: 50.5 MB / 406.5 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003252/0.09622, allocations: 2.373 MB / 408.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.09656, allocations: 163.4 kB / 409 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.09664, allocations: 4 kB / 409 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.09676, allocations: 15.86 kB / 409 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.09686, allocations: 35.69 kB / 409 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.09701, allocations: 47.97 kB / 409.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.09721, allocations: 191.7 kB / 409.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.09746, allocations: 132.7 kB / 409.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.09753, allocations: 63.72 kB / 409.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.09764, allocations: 71.7 kB / 409.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.09767, allocations: 12 kB / 409.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.09771, allocations: 12 kB / 409.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.09775, allocations: 31.86 kB / 409.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.09787, allocations: 79.66 kB / 409.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.09813, allocations: 203.6 kB / 409.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09814, allocations: 4 kB / 409.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09815, allocations: 0 / 409.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.09816, allocations: 0 / 409.9 MB, free: 13.02 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.0007244/0.0989, allocations: 454.9 kB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.09894, allocations: 8.031 kB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.099, allocations: 46.73 kB / 410.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.09904, allocations: 16.75 kB / 410.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.09925, allocations: 220.1 kB / 410.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.09927, allocations: 8.375 kB / 410.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.0993, allocations: 16.38 kB / 410.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.09958, allocations: 185 kB / 410.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.0996, allocations: 3.938 kB / 410.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.09962, allocations: 8 kB / 410.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.09963, allocations: 4 kB / 410.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.09981, allocations: 100.7 kB / 410.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.1006, allocations: 0.7596 MB / 411.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.1007, allocations: 58.56 kB / 411.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.1008, allocations: 36.98 kB / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.1008, allocations: 4 kB / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1009, allocations: 30.56 kB / 411.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1009, allocations: 4 kB / 411.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002129/0.1011, allocations: 101.4 kB / 411.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1011, allocations: 51.41 kB / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1013, allocations: 182 kB / 412.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1013, allocations: 29.64 kB / 412.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.1014, allocations: 135.6 kB / 412.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1014, allocations: 27.58 kB / 412.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.1015, allocations: 29.72 kB / 412.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1016, allocations: 326.8 kB / 412.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.1016, allocations: 23.98 kB / 412.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.1017, allocations: 82.86 kB / 412.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1018, allocations: 114.7 kB / 412.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1018, allocations: 0 / 412.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001854/0.102, allocations: 141.4 kB / 413 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1021, allocations: 8 kB / 413 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1021, allocations: 0 / 413 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1021, allocations: 4 kB / 413 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1022, allocations: 27.98 kB / 413.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1022, allocations: 4.156 kB / 413.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.1023, allocations: 27.78 kB / 413.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1023, allocations: 8 kB / 413.1 MB, free: 9.477 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 8.853e-05/0.1024, allocations: 129.8 kB / 413.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1025, allocations: 11.81 kB / 413.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1025, allocations: 16.72 kB / 413.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1025, allocations: 0 / 413.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1025, allocations: 0 / 413.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1025, allocations: 11.92 kB / 413.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.1028, allocations: 229.5 kB / 413.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1028, allocations: 0 / 413.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.1029, allocations: 15.98 kB / 413.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1029, allocations: 7.938 kB / 413.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1029, allocations: 0 / 413.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1029, allocations: 0 / 413.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1029, allocations: 0 / 413.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1031, allocations: 219.6 kB / 413.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.1032, allocations: 84.92 kB / 413.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1032, allocations: 4.031 kB / 413.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.1033, allocations: 0 / 413.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.1033, allocations: 19.91 kB / 413.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1033, allocations: 0 / 413.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.1034, allocations: 119.2 kB / 414 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1034, allocations: 0 / 414 MB, free: 8.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1037, allocations: 31.94 kB / 414 MB, free: 8.496 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.0004329/0.1041, allocations: 0.7474 MB / 414.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1043, allocations: 71.86 kB / 414.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1043, allocations: 0 / 414.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.1043, allocations: 32.44 kB / 414.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1046, allocations: 23.92 kB / 414.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1064, allocations: 1.885 MB / 416.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1066, allocations: 0.7123 MB / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.1067, allocations: 16.64 kB / 417.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1068, allocations: 39.42 kB / 417.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1068, allocations: 0 / 417.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/0.3307, allocations: 2.574 MB / 420.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3309, allocations: 184.8 kB / 420.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.145, allocations: 0 / 420.3 MB, free: 2.055 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)