Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",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.001336/0.001336, 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.00126/0.00126, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003238/0.003237, allocations: 293.9 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 95.97 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1625, allocations: 89.15 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001897/0.1645, allocations: 0.5802 MB / 0.6942 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.454e-05/0.1645, allocations: 7.938 kB / 0.6942 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.1645, allocations: 7.938 kB / 0.6942 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.1646, allocations: 0 / 0.6942 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-06/0.1646, allocations: 2.656 kB / 0.6942 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.1646, allocations: 0 / 0.6942 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.1647, allocations: 4 kB / 0.6942 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.1647, allocations: 7.922 kB / 0.6942 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.1648, allocations: 4 kB / 0.6942 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.1648, allocations: 3.984 kB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1648, allocations: 0 / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-06/0.1648, allocations: 0.5 kB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.1648, allocations: 0.7812 kB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.1648, allocations: 0 / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.077e-05/0.1649, allocations: 0 / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1649, allocations: 1.281 kB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1649, allocations: 0 / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1649, allocations: 0 / 0.6942 GB, free: 3.641 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.0003039/0.1652, allocations: 308.2 kB / 0.6945 GB, free: 3.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1653, allocations: 13.62 kB / 0.6945 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1653, allocations: 34.75 kB / 0.6945 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.1653, allocations: 4.922 kB / 0.6945 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1654, allocations: 160.4 kB / 0.6947 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1655, allocations: 1 kB / 0.6947 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1655, allocations: 3.219 kB / 0.6947 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.1656, allocations: 34.2 kB / 0.6947 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1656, allocations: 3.938 kB / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.1656, allocations: 0 / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1656, allocations: 0 / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.571e-05/0.1656, allocations: 0 / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1658, allocations: 151 kB / 0.6949 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.1658, allocations: 22.61 kB / 0.6949 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.1658, allocations: 12.92 kB / 0.6949 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.1659, allocations: 3.938 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1659, allocations: 30.56 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1659, allocations: 0 / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.166, allocations: 37.64 kB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1661, allocations: 51.41 kB / 0.695 GB, free: 2.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.095e-05/0.1661, allocations: 89.86 kB / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1661, allocations: 25.83 kB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1662, allocations: 88.14 kB / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1662, allocations: 4.188 kB / 0.6952 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1662, allocations: 13.7 kB / 0.6952 GB, free: 2.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1664, allocations: 310.8 kB / 0.6955 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.1664, allocations: 7.938 kB / 0.6955 GB, free: 2.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.1664, allocations: 3.938 kB / 0.6956 GB, free: 2.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.1664, allocations: 8.859 kB / 0.6956 GB, free: 2.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1664, allocations: 8.062 kB / 0.6956 GB, free: 2.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.649e-05/0.1665, allocations: 29.7 kB / 0.6956 GB, free: 1.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1665, allocations: 4 kB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1665, allocations: 3.938 kB / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1665, allocations: 4 kB / 0.6956 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.1666, allocations: 7.984 kB / 0.6956 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1666, allocations: 0 / 0.6956 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.1666, allocations: 3.938 kB / 0.6956 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1666, allocations: 0 / 0.6956 GB, free: 1.957 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 7.405e-05/0.1667, allocations: 110.5 kB / 0.6957 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.1667, allocations: 7.938 kB / 0.6957 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.1667, allocations: 11.06 kB / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1667, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1667, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1668, allocations: 0 / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.97e-05/0.1669, allocations: 145.7 kB / 0.6959 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1669, allocations: 0 / 0.6959 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.1669, allocations: 4 kB / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1669, allocations: 0 / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1669, allocations: 11.88 kB / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1669, allocations: 0 / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1669, allocations: 0 / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.236e-05/0.167, allocations: 57.14 kB / 0.696 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.167, allocations: 81.09 kB / 0.696 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.167, allocations: 3.938 kB / 0.696 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-06/0.167, allocations: 0 / 0.696 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.1671, allocations: 4.031 kB / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-06/0.1671, allocations: 0 / 0.696 GB, free: 1.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.1671, allocations: 81.23 kB / 0.6961 GB, free: 1.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1671, allocations: 4 kB / 0.6961 GB, free: 1.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1673, allocations: 0 / 0.6961 GB, free: 1.355 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.0003521/0.1677, allocations: 0.5929 MB / 0.6967 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.1677, allocations: 4 kB / 0.6967 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1677, allocations: 0 / 0.6967 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-06/0.1677, allocations: 3.938 kB / 0.6967 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.1679, allocations: 7.984 kB / 0.6967 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1681, allocations: 106.7 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1684, allocations: 0.6729 MB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.786e-06/0.1684, allocations: 128 / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.1684, allocations: 11.44 kB / 0.6975 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1684, allocations: 0 / 0.6975 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1889, allocations: 0.8674 MB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.573, allocations: 6.734 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)