Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",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.001584/0.001584, 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.001859/0.001859, allocations: 194.2 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002272/0.002271, allocations: 287.2 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 100.1 kB / 0.5953 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1416, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002882/0.1446, allocations: 1.34 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.1448, allocations: 43.81 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1449, allocations: 0 / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1451, allocations: 7.922 kB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1453, allocations: 16.62 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.1453, allocations: 3.938 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.1453, allocations: 16.75 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.1454, allocations: 288 / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.1455, allocations: 9.656 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.1455, allocations: 11.94 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1456, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.1456, allocations: 11.98 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1457, allocations: 7.938 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1457, allocations: 12.47 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1459, allocations: 20.44 kB / 0.6818 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1459, allocations: 0 / 0.6818 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1459, allocations: 0.6562 kB / 0.6818 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1459, allocations: 1.75 kB / 0.6818 GB, free: 15.11 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004064/0.1463, allocations: 335.4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1464, allocations: 12.03 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.1464, allocations: 30.75 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1465, allocations: 7.75 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1467, allocations: 172.4 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1467, allocations: 4.375 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1467, allocations: 4.359 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1469, allocations: 34.25 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1469, allocations: 7.875 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1469, allocations: 0.625 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1469, allocations: 0 / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.147, allocations: 4.875 kB / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.1473, allocations: 241.5 kB / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.1473, allocations: 23.58 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.1474, allocations: 5.859 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1474, allocations: 3.938 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1474, allocations: 34.62 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.1474, allocations: 4 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000151/0.1476, allocations: 45.53 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1476, allocations: 51.41 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.1477, allocations: 113.8 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1477, allocations: 25.7 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.1478, allocations: 84.14 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1478, allocations: 8.062 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1478, allocations: 13.72 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.148, allocations: 318.8 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.148, allocations: 3.938 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.148, allocations: 4 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.148, allocations: 12.8 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.148, allocations: 3.938 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.669e-05/0.1481, allocations: 45.69 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1481, allocations: 8 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1481, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1481, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.1482, allocations: 4 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1482, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1482, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1482, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.695e-05/0.1483, allocations: 114.4 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1484, allocations: 4 kB / 0.6835 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.578e-05/0.1484, allocations: 49.22 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1485, allocations: 0 / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1485, allocations: 0 / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1485, allocations: 0 / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1486, allocations: 157.6 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1486, allocations: 0 / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.1487, allocations: 7.984 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1487, allocations: 3.984 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1487, allocations: 4 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1487, allocations: 0 / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1487, allocations: 4.031 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/0.1488, allocations: 135.3 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.1488, allocations: 81.09 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1488, allocations: 8 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.1489, allocations: 3.938 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.1489, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1489, allocations: 0 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.246e-05/0.149, allocations: 99.59 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.149, allocations: 0 / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1492, allocations: 4 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0004704/0.1497, allocations: 0.6895 MB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.484e-05/0.1498, allocations: 4 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1498, allocations: 0 / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.1498, allocations: 4 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.15, allocations: 5.719 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.151, allocations: 1.175 MB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1512, allocations: 0.6807 MB / 0.6865 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.1513, allocations: 4 kB / 0.6865 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1513, allocations: 11.44 kB / 0.6865 GB, free: 9.789 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1513, allocations: 0 / 0.6865 GB, free: 9.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1735/0.3248, allocations: 1.361 MB / 0.6878 GB, free: 8.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.149, allocations: 17.7 kB / 0.6879 GB, free: 8.484 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)