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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7524/0.7524, allocations: 128.8 MB / 143.7 MB, free: 2.273 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 178.3 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009619/0.0009617, allocations: 96.11 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 10.06 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.3227, allocations: 102.6 MB / 0.7355 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.323, allocations: 79.95 kB / 0.7356 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.3366, allocations: 4.324 MB / 0.7398 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3366, allocations: 0 / 0.7398 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3367, allocations: 0 / 0.7398 GB, free: 3.414 MB / 0.5105 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.00037/0.337, allocations: 353.8 kB / 0.7401 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3371, allocations: 8.031 kB / 0.7401 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.3372, allocations: 7.953 kB / 0.7401 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3373, allocations: 159.1 kB / 0.7403 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3373, allocations: 0 / 0.7403 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.3373, allocations: 0 / 0.7403 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.3374, allocations: 25.7 kB / 0.7403 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3374, allocations: 0 / 0.7403 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3375, allocations: 4 kB / 0.7403 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3375, allocations: 3.938 kB / 0.7403 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.3375, allocations: 4 kB / 0.7403 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3377, allocations: 161.5 kB / 0.7405 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.3377, allocations: 18.61 kB / 0.7405 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.3382, allocations: 425.6 kB / 0.7409 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3383, allocations: 34.62 kB / 0.7409 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.3383, allocations: 0 / 0.7409 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001783/0.3384, allocations: 33.64 kB / 0.741 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3385, allocations: 55.41 kB / 0.741 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.629e-05/0.3385, allocations: 89 kB / 0.7411 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3386, allocations: 29.7 kB / 0.7411 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.3386, allocations: 80.14 kB / 0.7412 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3386, allocations: 3.984 kB / 0.7412 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.3386, allocations: 4.125 kB / 0.7412 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3388, allocations: 314.8 kB / 0.7415 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.3388, allocations: 0 / 0.7415 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.3388, allocations: 4 kB / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.3388, allocations: 0 / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3389, allocations: 0 / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.975e-05/0.3389, allocations: 29.7 kB / 0.7416 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.339, allocations: 8 kB / 0.7416 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.339, allocations: 8.031 kB / 0.7416 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.339, allocations: 0 / 0.7416 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.3391, allocations: 7.922 kB / 0.7416 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3391, allocations: 0 / 0.7416 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.3391, allocations: 8 kB / 0.7416 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3391, allocations: 0 / 0.7416 GB, free: 1.273 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.3392, allocations: 109.8 kB / 0.7417 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3392, allocations: 3.906 kB / 0.7417 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.3393, allocations: 44.81 kB / 0.7417 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3393, allocations: 0 / 0.7417 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3394, allocations: 0 / 0.7417 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3394, allocations: 0 / 0.7417 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3395, allocations: 149.6 kB / 0.7419 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3395, allocations: 4 kB / 0.7419 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.3395, allocations: 4 kB / 0.7419 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3395, allocations: 0 / 0.7419 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3395, allocations: 0 / 0.7419 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3395, allocations: 0 / 0.7419 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3395, allocations: 3.938 kB / 0.7419 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.3396, allocations: 61.16 kB / 0.742 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.3397, allocations: 81.06 kB / 0.742 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3397, allocations: 11.92 kB / 0.742 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-06/0.3397, allocations: 0 / 0.742 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3398, allocations: 0 / 0.742 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3398, allocations: 7.984 kB / 0.7421 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.3398, allocations: 75.28 kB / 0.7421 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3398, allocations: 4.031 kB / 0.7421 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002207/0.34, allocations: 8 kB / 0.7421 GB, free: 0.6133 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.3402, allocations: 119 kB / 0.7422 GB, free: 496 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.145e-05/0.3403, allocations: 7.938 kB / 0.7423 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3403, allocations: 0 / 0.7423 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.3403, allocations: 0 / 0.7423 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.679e-05/0.3404, allocations: 3.984 kB / 0.7423 GB, free: 484 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.3407, allocations: 86.83 kB / 0.7423 GB, free: 368 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.326/0.6666, allocations: 0.6703 MB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.6667, allocations: 1.656 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.6668, allocations: 7.438 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/0.6668, allocations: 0 / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.002638/0.6694, allocations: 419.5 kB / 0.7434 GB, free: 109.6 MB / 0.5105 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)