Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",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.001199/0.001199, 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.001242/0.001242, allocations: 192.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 292.3 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.16 kB / 0.6711 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1641, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001426/0.1655, allocations: 0.6626 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000184/0.1657, allocations: 39.86 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-06/0.1657, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.1658, allocations: 4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.937e-06/0.1658, allocations: 4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.166, allocations: 15.92 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.678e-05/0.166, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.166, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.1661, allocations: 4 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.517e-05/0.1661, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1661, allocations: 3.984 kB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.1662, allocations: 27.97 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.1662, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.1662, allocations: 3.938 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.872e-05/0.1663, allocations: 11.98 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1663, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1663, allocations: 4 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1663, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB 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.000208/0.1665, allocations: 315.5 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.1665, allocations: 12.06 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.1666, allocations: 30.75 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1668, allocations: 16.91 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.1668, allocations: 164.4 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.1669, allocations: 4.312 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1669, allocations: 4.375 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.167, allocations: 34.25 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.167, allocations: 7.875 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.167, allocations: 3.984 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.167, allocations: 0 / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.1671, allocations: 4 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1672, allocations: 157.7 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.1673, allocations: 22.59 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.1673, allocations: 8.844 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1673, allocations: 4.062 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1674, allocations: 38.56 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.1674, allocations: 0 / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001848/0.1676, allocations: 57.55 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1676, allocations: 51.41 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.637e-05/0.1676, allocations: 89.86 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.1676, allocations: 25.7 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.1677, allocations: 80.14 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1677, allocations: 3.906 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1677, allocations: 13.84 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.1678, allocations: 326.8 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.1678, allocations: 4 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.1679, allocations: 3.984 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.168, allocations: 16.8 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.168, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.1681, allocations: 45.73 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1681, allocations: 8 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1681, allocations: 7.938 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1681, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.1682, allocations: 4 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1682, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.1682, allocations: 4.266 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1682, allocations: 0 / 0.7852 GB, free: 11.24 MB / 0.6075 GB 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 5.114e-05/0.1683, allocations: 117.9 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.1683, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.1683, allocations: 7.062 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1683, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1683, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1683, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.1684, allocations: 153.6 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1684, allocations: 0 / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.1685, allocations: 3.938 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1685, allocations: 7.938 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1685, allocations: 7.938 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1685, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1685, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1686, allocations: 65.11 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.1686, allocations: 81.11 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.1687, allocations: 3.938 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.1687, allocations: 4.031 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.1687, allocations: 3.984 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1687, allocations: 0 / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.1687, allocations: 79.28 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1687, allocations: 0 / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001562/0.1689, allocations: 0 / 0.7858 GB, free: 10.62 MB / 0.6075 GB 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.0003149/0.1692, allocations: 0.6085 MB / 0.7863 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1693, allocations: 15.92 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1693, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.1694, allocations: 8 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.1695, allocations: 0 / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.1698, allocations: 122.7 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.1699, allocations: 0.6729 MB / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.17, allocations: 0 / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.17, allocations: 7.438 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.17, allocations: 4 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9203/1.09, allocations: 0.8518 MB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/1.091, allocations: 200.5 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/5.101, allocations: 0 / 0.7882 GB, free: 8.086 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)