Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004704/0.004704, allocations: 101 kB / 15.73 MB, free: 6.043 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.001071/0.001071, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.34 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 1.002/1.002, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4901, allocations: 82.03 MB / 0.6756 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002345/0.4925, allocations: 1.429 MB / 0.677 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.4932, allocations: 387.7 kB / 0.6774 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.4932, allocations: 0 / 0.6774 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.4933, allocations: 5.219 kB / 0.6774 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.4933, allocations: 3.938 kB / 0.6774 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.4938, allocations: 120.8 kB / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.4939, allocations: 29.12 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.494, allocations: 3.344 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.4941, allocations: 16.52 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.4941, allocations: 10.95 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.4942, allocations: 2.156 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.4946, allocations: 280.4 kB / 0.6779 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.4946, allocations: 5.031 kB / 0.6779 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.4946, allocations: 14.17 kB / 0.6779 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.4948, allocations: 104.4 kB / 0.678 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4949, allocations: 0 / 0.678 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 6.442e-06/0.4949, allocations: 3.984 kB / 0.678 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4949, allocations: 5.125 kB / 0.678 GB, free: 15.67 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005268/0.4954, allocations: 366.2 kB / 0.6783 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4955, allocations: 10.12 kB / 0.6783 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.4955, allocations: 2.094 kB / 0.6783 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4957, allocations: 170.6 kB / 0.6785 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4957, allocations: 5.453 kB / 0.6785 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4957, allocations: 1.469 kB / 0.6785 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.4959, allocations: 45.69 kB / 0.6786 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4959, allocations: 4.188 kB / 0.6786 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4959, allocations: 5.062 kB / 0.6786 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4959, allocations: 3.984 kB / 0.6786 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4961, allocations: 31.78 kB / 0.6786 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.4965, allocations: 254.3 kB / 0.6788 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4966, allocations: 43.19 kB / 0.6789 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.4967, allocations: 19.56 kB / 0.6789 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006833/0.4974, allocations: 464 kB / 0.6794 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4975, allocations: 31.72 kB / 0.6794 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4975, allocations: 0 / 0.6794 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.4978, allocations: 86.55 kB / 0.6795 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4979, allocations: 51.41 kB / 0.6795 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.498, allocations: 109.7 kB / 0.6796 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.498, allocations: 29.7 kB / 0.6796 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.498, allocations: 87.03 kB / 0.6797 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4981, allocations: 9.031 kB / 0.6797 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4981, allocations: 13.06 kB / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4982, allocations: 315.9 kB / 0.6801 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.4983, allocations: 16.86 kB / 0.6801 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.4984, allocations: 21.3 kB / 0.6801 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.4986, allocations: 44.81 kB / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4986, allocations: 0 / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.4988, allocations: 69.39 kB / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4988, allocations: 5.844 kB / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4988, allocations: 0 / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4988, allocations: 4.094 kB / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.4989, allocations: 10.7 kB / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.4989, allocations: 0 / 0.6802 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.499, allocations: 11.83 kB / 0.6802 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.499, allocations: 1.406 kB / 0.6802 GB, free: 13.33 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 (2): * Single equations (assignments): 2 * 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.517e-05/0.4991, allocations: 115.2 kB / 0.6803 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4991, allocations: 1.375 kB / 0.6803 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.4994, allocations: 84.83 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4994, allocations: 0 / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4994, allocations: 1.312 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.4994, allocations: 3.984 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.4996, allocations: 158.9 kB / 0.6806 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4996, allocations: 0 / 0.6806 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.4996, allocations: 10.67 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4997, allocations: 0 / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4997, allocations: 1.062 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4997, allocations: 4.031 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4997, allocations: 1.219 kB / 0.6806 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4999, allocations: 168.4 kB / 0.6808 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.5, allocations: 86.89 kB / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.5, allocations: 0 / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.5001, allocations: 11.36 kB / 0.6808 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.5002, allocations: 4.969 kB / 0.6809 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5002, allocations: 1.125 kB / 0.6809 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.5002, allocations: 92.05 kB / 0.6809 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5002, allocations: 0 / 0.6809 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000225/0.5005, allocations: 13.06 kB / 0.681 GB, free: 12.57 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 (2): * Single equations (assignments): 2 * 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.0002127/0.5007, allocations: 111.9 kB / 0.6811 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.5009, allocations: 41.95 kB / 0.6811 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5009, allocations: 3.938 kB / 0.6811 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.501, allocations: 20.17 kB / 0.6811 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5013, allocations: 9.156 kB / 0.6811 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.5017, allocations: 117.4 kB / 0.6812 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.5019, allocations: 0.6789 MB / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.502, allocations: 5.312 kB / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.502, allocations: 8.719 kB / 0.6819 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.502, allocations: 0 / 0.6819 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.003133/0.5051, allocations: 0.7252 MB / 0.6826 GB, free: 11.23 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)