Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0007476/0.0007476, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.004797/0.004797, allocations: 171.1 kB / 16.26 MB, free: 6.68 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9639/0.9639, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.000323, allocations: 16 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 83.41 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007327/0.1812, allocations: 315.1 kB / 0.5983 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007061/0.182, allocations: 343 kB / 0.5986 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-06/0.182, allocations: 4 kB / 0.5986 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.182, allocations: 0 / 0.5986 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.182, allocations: 0 / 0.5986 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.1824, allocations: 70.23 kB / 0.5987 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.399e-05/0.1824, allocations: 7.984 kB / 0.5987 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1824, allocations: 0 / 0.5987 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.1825, allocations: 0 / 0.5987 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.659e-05/0.1825, allocations: 11.92 kB / 0.5987 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1825, allocations: 0 / 0.5987 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1829, allocations: 267.7 kB / 0.599 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1829, allocations: 0 / 0.599 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.183, allocations: 25.7 kB / 0.599 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1831, allocations: 83.86 kB / 0.5991 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1831, allocations: 0 / 0.5991 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1832, allocations: 4 kB / 0.5991 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1832, allocations: 4 kB / 0.5991 GB, free: 6.449 MB / 0.4981 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.0003234/0.1835, allocations: 327.6 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1835, allocations: 12.03 kB / 0.5994 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.1836, allocations: 42.61 kB / 0.5994 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1836, allocations: 0.9375 kB / 0.5994 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.1837, allocations: 168.4 kB / 0.5996 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1837, allocations: 384 / 0.5996 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1837, allocations: 384 / 0.5996 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.1838, allocations: 34.27 kB / 0.5996 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1839, allocations: 7.938 kB / 0.5996 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1839, allocations: 0 / 0.5996 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1839, allocations: 0 / 0.5996 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.1839, allocations: 4 kB / 0.5996 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.184, allocations: 149.6 kB / 0.5998 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.402e-05/0.1841, allocations: 18.52 kB / 0.5998 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.1841, allocations: 12.95 kB / 0.5998 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.1846, allocations: 421.5 kB / 0.6002 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1846, allocations: 34.56 kB / 0.6002 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1846, allocations: 0 / 0.6002 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.1848, allocations: 41.58 kB / 0.6003 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1848, allocations: 51.41 kB / 0.6003 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.1849, allocations: 97.97 kB / 0.6004 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1849, allocations: 25.7 kB / 0.6005 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.1849, allocations: 80.14 kB / 0.6005 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.185, allocations: 7.906 kB / 0.6005 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.185, allocations: 9.719 kB / 0.6005 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1851, allocations: 310.8 kB / 0.6008 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.1851, allocations: 4 kB / 0.6008 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.1851, allocations: 0 / 0.6008 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.1851, allocations: 12.92 kB / 0.6009 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1852, allocations: 0 / 0.6009 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.407e-05/0.1852, allocations: 37.64 kB / 0.6009 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1852, allocations: 7.984 kB / 0.6009 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1853, allocations: 3.938 kB / 0.6009 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1853, allocations: 0 / 0.6009 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.1853, allocations: 4 kB / 0.6009 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1853, allocations: 0 / 0.6009 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-06/0.1853, allocations: 0 / 0.6009 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1853, allocations: 0 / 0.6009 GB, free: 4.234 MB / 0.4981 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 6.328e-05/0.1854, allocations: 109.9 kB / 0.601 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1854, allocations: 4 kB / 0.601 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.1855, allocations: 44.75 kB / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1855, allocations: 0 / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1855, allocations: 0 / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1855, allocations: 0 / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.1856, allocations: 149.9 kB / 0.6012 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1856, allocations: 8.031 kB / 0.6012 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.1857, allocations: 7.875 kB / 0.6012 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1857, allocations: 3.984 kB / 0.6012 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1857, allocations: 7.938 kB / 0.6012 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1857, allocations: 0 / 0.6012 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1857, allocations: 0 / 0.6012 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.1858, allocations: 57.14 kB / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1858, allocations: 77.11 kB / 0.6014 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1858, allocations: 11.95 kB / 0.6014 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.1859, allocations: 0 / 0.6014 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.1859, allocations: 4 kB / 0.6014 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.1859, allocations: 0 / 0.6014 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.1859, allocations: 75.28 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1859, allocations: 0 / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001918/0.1861, allocations: 11.94 kB / 0.6015 GB, free: 3.574 MB / 0.4981 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.0004302/0.1865, allocations: 0.6163 MB / 0.6021 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.194e-05/0.1866, allocations: 4 kB / 0.6021 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1866, allocations: 4 kB / 0.6021 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/0.1866, allocations: 0 / 0.6021 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1868, allocations: 4.406 kB / 0.6021 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.187, allocations: 112.5 kB / 0.6022 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1873, allocations: 0.6731 MB / 0.6028 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.1873, allocations: 0 / 0.6028 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.1873, allocations: 7.438 kB / 0.6028 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.385e-06/0.1873, allocations: 0 / 0.6028 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009862/0.1972, allocations: 1.027 MB / 0.6038 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.1974, allocations: 217 kB / 0.6041 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.839, allocations: 0 / 0.6041 GB, free: 0.9531 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)