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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005576/0.005576, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.001294/0.001294, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.9582/0.9582, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 67.91 kB / 0.5956 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4145, allocations: 82.01 MB / 0.6757 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001634/0.4162, allocations: 0.5823 MB / 0.6762 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.4168, allocations: 321.9 kB / 0.6765 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.4169, allocations: 1.062 kB / 0.6765 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.4169, allocations: 0 / 0.6765 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.4169, allocations: 4 kB / 0.6765 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.4173, allocations: 115.2 kB / 0.6767 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.799e-05/0.4174, allocations: 9.078 kB / 0.6767 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.4174, allocations: 1.25 kB / 0.6767 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.4174, allocations: 0 / 0.6767 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.4175, allocations: 1.094 kB / 0.6767 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.4175, allocations: 3.938 kB / 0.6767 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.4179, allocations: 283 kB / 0.6769 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.4179, allocations: 4 kB / 0.6769 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.282e-05/0.4179, allocations: 1.406 kB / 0.6769 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4181, allocations: 83.78 kB / 0.677 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4181, allocations: 4 kB / 0.677 GB, free: 500 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4181, allocations: 0 / 0.677 GB, free: 500 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4181, allocations: 1.094 kB / 0.677 GB, free: 500 kB / 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.000242/0.4184, allocations: 335.6 kB / 0.6774 GB, free: 120 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4184, allocations: 9.594 kB / 0.6774 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.4185, allocations: 0.9375 kB / 0.6774 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.263e-05/0.4186, allocations: 165.5 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.4186, allocations: 384 / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.4186, allocations: 1.531 kB / 0.6775 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/0.4187, allocations: 31.41 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4187, allocations: 1.344 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4187, allocations: 3.938 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.4187, allocations: 0 / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.4187, allocations: 2.469 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.4189, allocations: 146.8 kB / 0.6777 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.441e-05/0.4189, allocations: 23.64 kB / 0.6777 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.4189, allocations: 9.438 kB / 0.6777 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.4194, allocations: 432.7 kB / 0.6781 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4194, allocations: 34.56 kB / 0.6782 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4194, allocations: 1.125 kB / 0.6782 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.4196, allocations: 39.23 kB / 0.6782 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4196, allocations: 55.34 kB / 0.6783 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.297e-05/0.4197, allocations: 89.86 kB / 0.6784 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4197, allocations: 26.89 kB / 0.6784 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.4197, allocations: 80.14 kB / 0.6785 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4197, allocations: 0 / 0.6785 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.4198, allocations: 11.91 kB / 0.6785 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4199, allocations: 320.2 kB / 0.6788 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.4199, allocations: 1.156 kB / 0.6788 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.4199, allocations: 1.094 kB / 0.6788 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.4199, allocations: 11.14 kB / 0.6788 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4199, allocations: 0 / 0.6788 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.254e-05/0.42, allocations: 31.67 kB / 0.6788 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.42, allocations: 9.688 kB / 0.6788 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.42, allocations: 96 / 0.6788 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4201, allocations: 7.938 kB / 0.6788 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.821e-05/0.4201, allocations: 6.438 kB / 0.6788 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4201, allocations: 7.922 kB / 0.6788 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.4201, allocations: 1.125 kB / 0.6788 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4201, allocations: 0 / 0.6788 GB, free: 14.39 MB / 0.5137 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 7.09e-05/0.4202, allocations: 107.1 kB / 0.6789 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.4202, allocations: 0.9688 kB / 0.6789 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.4203, allocations: 46.3 kB / 0.679 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4203, allocations: 0 / 0.679 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4203, allocations: 5.016 kB / 0.679 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4203, allocations: 3.984 kB / 0.679 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/0.4204, allocations: 146.6 kB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4204, allocations: 1.062 kB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.4204, allocations: 1.094 kB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4205, allocations: 4.938 kB / 0.6791 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4205, allocations: 3.938 kB / 0.6792 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4205, allocations: 5.031 kB / 0.6792 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4205, allocations: 32 / 0.6792 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/0.4206, allocations: 63.72 kB / 0.6792 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.4206, allocations: 80.91 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.4206, allocations: 5.219 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.4206, allocations: 0 / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.4206, allocations: 1.125 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4206, allocations: 1.156 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.4207, allocations: 79.31 kB / 0.6794 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 0.6794 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001952/0.4209, allocations: 13.61 kB / 0.6794 GB, free: 13.77 MB / 0.5137 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.0001686/0.421, allocations: 105.6 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.4211, allocations: 11.72 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4211, allocations: 0 / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.4211, allocations: 2.188 kB / 0.6795 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.4213, allocations: 6.766 kB / 0.6795 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.4214, allocations: 86.69 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4217, allocations: 0.67 MB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.4217, allocations: 4.891 kB / 0.6803 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.4217, allocations: 8.688 kB / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4217, allocations: 0 / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.002308/0.4241, allocations: 471 kB / 0.6807 GB, free: 12.62 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)