Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 106 kB / 16.41 MB, free: 6.488 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.001317/0.001317, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 281.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001687, allocations: 103.8 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4401, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001619/0.4417, allocations: 0.6127 MB / 0.7677 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000653/0.4424, allocations: 354.7 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.4425, allocations: 3.938 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.4425, allocations: 7.875 kB / 0.768 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/0.4425, allocations: 0 / 0.768 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.443, allocations: 121.6 kB / 0.7682 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.4431, allocations: 19.98 kB / 0.7682 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.4431, allocations: 4 kB / 0.7682 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.4432, allocations: 19.92 kB / 0.7682 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.4432, allocations: 7.984 kB / 0.7682 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4432, allocations: 4 kB / 0.7682 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.4436, allocations: 279.6 kB / 0.7685 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.4436, allocations: 3.938 kB / 0.7685 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.4437, allocations: 15.92 kB / 0.7685 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.4439, allocations: 99.77 kB / 0.7686 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4439, allocations: 0 / 0.7686 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4439, allocations: 0 / 0.7686 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.4439, allocations: 0 / 0.7686 GB, free: 2.402 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004309/0.4443, allocations: 371.1 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4444, allocations: 8.031 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.4444, allocations: 8.938 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4446, allocations: 164.3 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4446, allocations: 4.375 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4446, allocations: 8.375 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4447, allocations: 46.23 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4447, allocations: 8.094 kB / 0.7692 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4448, allocations: 7.938 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4448, allocations: 0 / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.4448, allocations: 19.98 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.445, allocations: 164.2 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.4451, allocations: 58.58 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.4452, allocations: 29 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/0.4459, allocations: 465.4 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4459, allocations: 38.5 kB / 0.7699 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4459, allocations: 0 / 0.7699 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001229/0.4471, allocations: 0.5876 MB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4472, allocations: 55.41 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.4473, allocations: 101.8 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4473, allocations: 25.7 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.4474, allocations: 88.12 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.4474, allocations: 39.41 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.4475, allocations: 29.7 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4476, allocations: 314.8 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.4476, allocations: 27.92 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.4477, allocations: 19.98 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.4478, allocations: 55.61 kB / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4478, allocations: 0 / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001553/0.4479, allocations: 105.5 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.448, allocations: 8 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.448, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.448, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4481, allocations: 27.94 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4481, allocations: 0 / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.4482, allocations: 3.984 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4482, allocations: 4 kB / 0.7714 GB, free: 15.16 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.939e-05/0.4483, allocations: 112.2 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.4483, allocations: 11.94 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4486, allocations: 121.5 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4486, allocations: 0 / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4486, allocations: 4 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4486, allocations: 3.984 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.449, allocations: 346.5 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.449, allocations: 0 / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4491, allocations: 23.94 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4491, allocations: 4 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4491, allocations: 3.984 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4491, allocations: 4 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4492, allocations: 0 / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4494, allocations: 219.3 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.4495, allocations: 85.12 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4495, allocations: 4 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.4496, allocations: 0 / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.4496, allocations: 7.984 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4496, allocations: 8 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.4497, allocations: 83.34 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.944e-06/0.4497, allocations: 0 / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002796/0.45, allocations: 47.92 kB / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002376/0.4502, allocations: 135.2 kB / 0.7725 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.4504, allocations: 71.84 kB / 0.7726 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4504, allocations: 0 / 0.7726 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.4504, allocations: 27.94 kB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4507, allocations: 8 kB / 0.7726 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.451, allocations: 215.7 kB / 0.7728 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.4513, allocations: 0.6882 MB / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4514, allocations: 19.42 kB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4514, allocations: 0 / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Templates: time 0.003026/0.4544, allocations: 1.224 MB / 0.7747 GB, free: 11.55 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)