Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001686/0.001686, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002214/0.002214, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.36 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002204/0.3339, allocations: 0.6464 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007706/0.3347, allocations: 357.1 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.116e-05/0.3348, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.3348, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-06/0.3348, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3352, allocations: 71.23 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.558e-05/0.3353, allocations: 11.98 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3353, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.3353, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.253e-05/0.3354, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3354, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.3358, allocations: 279.6 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.3358, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.3359, allocations: 3.938 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3361, allocations: 83.86 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3361, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3361, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3361, allocations: 7.938 kB / 1.069 GB, free: 9.434 MB / 0.8262 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.0003674/0.3365, allocations: 331.6 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3365, allocations: 8.031 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.3366, allocations: 0.9375 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3367, allocations: 168.4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.3367, allocations: 384 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3367, allocations: 4.375 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.3368, allocations: 26.27 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3368, allocations: 192 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3369, allocations: 11.92 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3369, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.3369, allocations: 4 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.3371, allocations: 141.7 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.3371, allocations: 22.52 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3371, allocations: 8.953 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.3377, allocations: 429.5 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3377, allocations: 34.5 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 2.996e-06/0.3377, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001838/0.3379, allocations: 45.5 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.338, allocations: 51.41 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.763e-05/0.338, allocations: 89.98 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.338, allocations: 33.7 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.3381, allocations: 80.14 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3381, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3381, allocations: 13.72 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3383, allocations: 310.8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.3383, allocations: 4 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.3383, allocations: 16.91 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.933e-05/0.3384, allocations: 33.64 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3385, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3385, allocations: 7.984 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3385, allocations: 3.938 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.3385, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3385, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.3386, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3386, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 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.251e-05/0.3386, allocations: 117.9 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3387, allocations: 3.906 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.3388, allocations: 36.77 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3388, allocations: 8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.3389, allocations: 149.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3389, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.3389, allocations: 7.969 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.339, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.339, allocations: 3.938 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.339, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.339, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.3391, allocations: 57.12 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3391, allocations: 77.11 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3391, allocations: 7.969 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.3392, allocations: 7.938 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.3392, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3392, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.3392, allocations: 75.28 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3392, allocations: 3.938 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002285/0.3395, allocations: 16.28 kB / 1.071 GB, free: 6.598 MB / 0.8262 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.0002042/0.3397, allocations: 111.2 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.351e-05/0.3397, allocations: 11.94 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3397, allocations: 0 / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.782e-06/0.3398, allocations: 4 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3399, allocations: 1.203 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001754/0.3401, allocations: 82.75 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3403, allocations: 0.6692 MB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.3404, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.3404, allocations: 15.56 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3404, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of Templates: time 0.00276/0.3432, allocations: 454.5 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)