Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 132 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.001745/0.001745, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002403/0.002403, allocations: 283 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 101 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.159, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002799/0.1618, allocations: 1.362 MB / 0.6949 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.162, allocations: 43.81 kB / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.162, allocations: 0.625 kB / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1622, allocations: 20.52 kB / 0.695 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/0.1623, allocations: 11.92 kB / 0.695 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.1623, allocations: 1.406 kB / 0.695 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.1624, allocations: 15.94 kB / 0.695 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.1624, allocations: 4 kB / 0.695 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.1625, allocations: 4.562 kB / 0.695 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.1625, allocations: 18.62 kB / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1625, allocations: 4 kB / 0.6951 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.292e-05/0.1626, allocations: 8 kB / 0.6951 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.1626, allocations: 7.938 kB / 0.6951 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.1626, allocations: 11.88 kB / 0.6951 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.1627, allocations: 31.89 kB / 0.6951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1628, allocations: 0 / 0.6951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1628, allocations: 0 / 0.6951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1628, allocations: 1.5 kB / 0.6951 GB, free: 2.684 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.0003865/0.1632, allocations: 339.6 kB / 0.6954 GB, free: 2.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1632, allocations: 12.03 kB / 0.6954 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.1633, allocations: 31.41 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.1633, allocations: 6.406 kB / 0.6955 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1635, allocations: 172.4 kB / 0.6956 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1635, allocations: 4.359 kB / 0.6957 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.1635, allocations: 384 / 0.6957 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.738e-05/0.1636, allocations: 34.27 kB / 0.6957 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1636, allocations: 3.938 kB / 0.6957 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1636, allocations: 0 / 0.6957 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1637, allocations: 4 kB / 0.6957 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.1637, allocations: 3.938 kB / 0.6957 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1639, allocations: 153.7 kB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.1639, allocations: 22.61 kB / 0.6959 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.1639, allocations: 8.859 kB / 0.6959 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.164, allocations: 3.984 kB / 0.6959 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.164, allocations: 34.62 kB / 0.6959 GB, free: 1.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.164, allocations: 0 / 0.6959 GB, free: 1.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000135/0.1641, allocations: 41.48 kB / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1642, allocations: 59.41 kB / 0.696 GB, free: 1.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1643, allocations: 113.8 kB / 0.6961 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1643, allocations: 25.7 kB / 0.6961 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1644, allocations: 88.27 kB / 0.6962 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1644, allocations: 7.984 kB / 0.6962 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1644, allocations: 9.719 kB / 0.6962 GB, free: 1.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1646, allocations: 314.8 kB / 0.6965 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.1646, allocations: 4 kB / 0.6965 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.1646, allocations: 0 / 0.6965 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.1646, allocations: 12.86 kB / 0.6966 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1646, allocations: 8 kB / 0.6966 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.914e-05/0.1647, allocations: 37.69 kB / 0.6966 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1647, allocations: 7.938 kB / 0.6966 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1647, allocations: 0 / 0.6966 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1647, allocations: 0 / 0.6966 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.1648, allocations: 4 kB / 0.6966 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1648, allocations: 0 / 0.6966 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.1648, allocations: 3.906 kB / 0.6966 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1648, allocations: 0 / 0.6966 GB, free: 0.9102 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 8.482e-05/0.1649, allocations: 121.9 kB / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.1649, allocations: 3.938 kB / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.165, allocations: 45.16 kB / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.165, allocations: 0 / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1651, allocations: 3.938 kB / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1651, allocations: 3.984 kB / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1652, allocations: 153.7 kB / 0.6969 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1652, allocations: 8 kB / 0.6969 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.1652, allocations: 0 / 0.6969 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1652, allocations: 3.938 kB / 0.6969 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.1652, allocations: 4.031 kB / 0.6969 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1652, allocations: 0 / 0.6969 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1652, allocations: 0 / 0.6969 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.497e-05/0.1653, allocations: 65.12 kB / 0.697 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1654, allocations: 81.02 kB / 0.6971 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1654, allocations: 3.938 kB / 0.6971 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1654, allocations: 3.938 kB / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1654, allocations: 8.031 kB / 0.6971 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.1654, allocations: 3.938 kB / 0.6971 GB, free: 312 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.1655, allocations: 99.25 kB / 0.6972 GB, free: 212 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.6972 GB, free: 212 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.1657, allocations: 4 kB / 0.6972 GB, free: 208 kB / 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.0004888/0.1662, allocations: 0.6068 MB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.1663, allocations: 19.92 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1663, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.1663, allocations: 4 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1664, allocations: 4.125 kB / 0.6978 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.1674, allocations: 1.102 MB / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1677, allocations: 0.6774 MB / 0.6996 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.842e-05/0.1678, allocations: 4 kB / 0.6996 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1678, allocations: 11.44 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1678, allocations: 0 / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.1901, allocations: 1.41 MB / 0.701 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.616, allocations: 7.375 kB / 0.701 GB, free: 12.34 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)