Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007913/0.007913, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001849/0.00185, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 66.12 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3088, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002067/0.3109, allocations: 0.6503 MB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.3117, allocations: 374.8 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.3117, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.3118, allocations: 4 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.918e-05/0.3118, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.3122, allocations: 71.84 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.3123, allocations: 11.98 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.3123, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3123, allocations: 11.94 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.3124, allocations: 3.938 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3124, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.3128, allocations: 279.6 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.3128, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.3128, allocations: 11.92 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.313, allocations: 59.89 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.313, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.313, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.313, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003552/0.3134, allocations: 343.5 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3134, allocations: 11.97 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.3135, allocations: 12.88 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3136, allocations: 164.4 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3136, allocations: 384 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3136, allocations: 384 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.3137, allocations: 30.27 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3138, allocations: 192 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3138, allocations: 7.938 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3138, allocations: 3.984 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.3138, allocations: 7.938 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.314, allocations: 154 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.478e-05/0.3141, allocations: 22.61 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.3141, allocations: 12.91 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.3148, allocations: 457.5 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3149, allocations: 30.56 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3149, allocations: 0 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.3154, allocations: 258.2 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3155, allocations: 63.55 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.3155, allocations: 97.86 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3155, allocations: 29.64 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.3156, allocations: 80.14 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3156, allocations: 7.906 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3157, allocations: 21.7 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.3158, allocations: 310.8 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3158, allocations: 4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.3158, allocations: 21.84 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.3159, allocations: 29.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3159, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.316, allocations: 53.55 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.316, allocations: 13.81 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.316, allocations: 0 / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.316, allocations: 4.062 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.3161, allocations: 11.98 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3161, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.3161, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3162, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.684e-05/0.3162, allocations: 113.8 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3163, allocations: 3.938 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.3164, allocations: 69.09 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3164, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3164, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3164, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.3165, allocations: 149.7 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3165, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.3166, allocations: 4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3166, allocations: 3.938 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3166, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3166, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3166, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3168, allocations: 85.05 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.3168, allocations: 77.11 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3169, allocations: 3.938 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.3169, allocations: 8.031 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.3169, allocations: 4.172 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3169, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.317, allocations: 83.34 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 0 / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002192/0.3172, allocations: 27.98 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002052/0.3174, allocations: 127.2 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.519e-05/0.3175, allocations: 15.92 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3175, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.3175, allocations: 8 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.3177, allocations: 11.92 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.318, allocations: 145.1 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.3182, allocations: 0.677 MB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3182, allocations: 7.438 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3182, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of Templates: time 0.002156/0.3204, allocations: 0.7642 MB / 1.059 GB, free: 1.695 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)