Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0009857/0.0009857, 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.001035/0.001035, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.172/1.172, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.484/1.484, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001614/0.001614, allocations: 66.11 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001673/0.1669, allocations: 0.6687 MB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.1675, allocations: 338.8 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.1675, allocations: 4 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1675, allocations: 0 / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.1676, allocations: 3.938 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1679, allocations: 91.84 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.168, allocations: 12 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.708e-05/0.168, allocations: 0 / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.168, allocations: 15.91 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.1681, allocations: 4 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1681, allocations: 0 / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.1684, allocations: 275.7 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1685, allocations: 3.984 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.1685, allocations: 7.938 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1686, allocations: 87.84 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1686, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1686, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1686, allocations: 0 / 0.7844 GB, free: 12.27 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002934/0.1689, allocations: 339.8 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.169, allocations: 16.03 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.169, allocations: 34.75 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1691, allocations: 4.844 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.1692, allocations: 168.3 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1692, allocations: 8.312 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1692, allocations: 384 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.1693, allocations: 34.25 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1693, allocations: 3.938 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1693, allocations: 0 / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1693, allocations: 4 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.1693, allocations: 8 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.1695, allocations: 149.7 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.1695, allocations: 26.52 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.1695, allocations: 4.859 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.1702, allocations: 461.5 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1702, allocations: 30.56 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1702, allocations: 0 / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004287/0.1706, allocations: 263.5 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.1707, allocations: 55.34 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.1707, allocations: 97.86 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1708, allocations: 25.7 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.1708, allocations: 84.12 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1708, allocations: 3.906 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1709, allocations: 17.72 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.1709, allocations: 315 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.171, allocations: 11.98 kB / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.171, allocations: 25.69 kB / 0.7865 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.171, allocations: 21.72 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.171, allocations: 0 / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.473e-05/0.1711, allocations: 53.62 kB / 0.7866 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1712, allocations: 12 kB / 0.7866 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.1712, allocations: 0 / 0.7866 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1712, allocations: 4 kB / 0.7866 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.1712, allocations: 4 kB / 0.7866 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1713, allocations: 0 / 0.7866 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1713, allocations: 8 kB / 0.7866 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1713, allocations: 0 / 0.7866 GB, free: 9.641 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.52e-05/0.1713, allocations: 110.5 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1714, allocations: 15.78 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1715, allocations: 61.12 kB / 0.7868 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1715, allocations: 0 / 0.7868 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1715, allocations: 0 / 0.7868 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1715, allocations: 0 / 0.7868 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.083e-05/0.1716, allocations: 153.7 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1716, allocations: 0 / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.1717, allocations: 11.98 kB / 0.787 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1717, allocations: 3.938 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1717, allocations: 0 / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1717, allocations: 4 kB / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1717, allocations: 0 / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1718, allocations: 77.06 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.1719, allocations: 85.08 kB / 0.7871 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1719, allocations: 0 / 0.7871 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.1719, allocations: 4 kB / 0.7871 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1719, allocations: 3.984 kB / 0.7871 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.172, allocations: 12 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.172, allocations: 75.28 kB / 0.7872 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.172, allocations: 0 / 0.7872 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001918/0.1722, allocations: 24 kB / 0.7873 GB, free: 8.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004135/0.1726, allocations: 0.6438 MB / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.1727, allocations: 19.94 kB / 0.7879 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1727, allocations: 0 / 0.7879 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.885e-05/0.1727, allocations: 15.98 kB / 0.7879 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1729, allocations: 0 / 0.7879 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.1736, allocations: 1.128 MB / 0.789 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.1738, allocations: 0.6729 MB / 0.7897 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.1738, allocations: 16.08 kB / 0.7897 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1738, allocations: 19.42 kB / 0.7897 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/0.1738, allocations: 0 / 0.7897 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9575/1.131, allocations: 1.64 MB / 0.7913 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/1.132, allocations: 226.5 kB / 0.7915 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.888, allocations: 4.328 kB / 0.7915 GB, free: 4.52 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)