Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001545/0.001544, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 64.12 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6082, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001804/0.61, allocations: 0.6561 MB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.6107, allocations: 365.4 kB / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.6107, allocations: 1.375 kB / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.6107, allocations: 0 / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.6108, allocations: 3.938 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.6112, allocations: 76.53 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.6112, allocations: 9.484 kB / 0.9507 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.6113, allocations: 5.359 kB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.6113, allocations: 6.75 kB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.6114, allocations: 5.375 kB / 0.9507 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.6114, allocations: 0 / 0.9507 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.6117, allocations: 271.3 kB / 0.9509 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.6118, allocations: 3.984 kB / 0.951 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.6118, allocations: 6.688 kB / 0.951 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.6119, allocations: 59.14 kB / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6119, allocations: 1.375 kB / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6119, allocations: 0 / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6119, allocations: 0 / 0.951 GB, free: 8.168 MB / 0.7169 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.0002826/0.6122, allocations: 350.4 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6123, allocations: 9.625 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.6123, allocations: 2.312 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.776e-05/0.6124, allocations: 161.8 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6124, allocations: 4.312 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.6124, allocations: 3.125 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/0.6125, allocations: 34.38 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6125, allocations: 4.188 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6126, allocations: 7.938 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6126, allocations: 9.312 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.6126, allocations: 1.375 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.6127, allocations: 153.8 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.6128, allocations: 22.64 kB / 0.9517 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.6128, allocations: 7.609 kB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.6134, allocations: 459.3 kB / 0.9522 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6135, allocations: 35.78 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6135, allocations: 0 / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004488/0.6139, allocations: 257.7 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.614, allocations: 56.66 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.77e-05/0.614, allocations: 97.05 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.614, allocations: 25.7 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.449e-05/0.614, allocations: 84.84 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.6141, allocations: 5.594 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.6141, allocations: 17.69 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.6141, allocations: 319 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.6142, allocations: 11.86 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.6142, allocations: 14.16 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.6142, allocations: 27.47 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6142, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.813e-05/0.6143, allocations: 54.95 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6144, allocations: 14.66 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6144, allocations: 1.156 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6144, allocations: 3.984 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.6145, allocations: 6.531 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6145, allocations: 1.375 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.6145, allocations: 4 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.6145, allocations: 1.438 kB / 0.9532 GB, free: 5.754 MB / 0.7169 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 4.38e-05/0.6146, allocations: 116.2 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.6146, allocations: 9.312 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.6147, allocations: 65.02 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6147, allocations: 1.375 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6147, allocations: 0 / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6147, allocations: 0 / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.858e-05/0.6148, allocations: 153.8 kB / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6148, allocations: 0 / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.6149, allocations: 9.422 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6149, allocations: 3.938 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.6149, allocations: 9.469 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6149, allocations: 0 / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6149, allocations: 0 / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.615, allocations: 70.44 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.615, allocations: 78.7 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.615, allocations: 7.938 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.6151, allocations: 9.266 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.6151, allocations: 5.375 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.6151, allocations: 9.281 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.607e-05/0.6151, allocations: 77.97 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6151, allocations: 0 / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002148/0.6154, allocations: 22.03 kB / 0.9538 GB, free: 5.082 MB / 0.7169 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.0001811/0.6156, allocations: 132.4 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.6156, allocations: 15.14 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6156, allocations: 224 / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.6157, allocations: 17.56 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.6158, allocations: 2.531 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.616, allocations: 136.5 kB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.6161, allocations: 0.6779 MB / 0.9548 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.6162, allocations: 8.844 kB / 0.9548 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6162, allocations: 1.094 kB / 0.9548 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.002032/0.6182, allocations: 0.7573 MB / 0.9555 GB, free: 3.734 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)