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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8267/0.8267, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 276.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.892e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3754, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5071, allocations: 108.1 MB / 0.8629 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5073, allocations: 83.81 kB / 0.863 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.015/0.5224, allocations: 5.085 MB / 0.868 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5224, allocations: 0 / 0.868 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5224, allocations: 0 / 0.868 GB, free: 14.64 MB / 0.5417 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.0003245/0.5227, allocations: 362.4 kB / 0.8683 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5228, allocations: 8.031 kB / 0.8683 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.5229, allocations: 7.906 kB / 0.8683 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.523, allocations: 163 kB / 0.8685 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.523, allocations: 7.953 kB / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.523, allocations: 7.938 kB / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.168e-05/0.5231, allocations: 19.98 kB / 0.8685 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.5232, allocations: 41.69 kB / 0.8686 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5232, allocations: 0 / 0.8686 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5233, allocations: 0 / 0.8686 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5233, allocations: 4 kB / 0.8686 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.5234, allocations: 138.2 kB / 0.8687 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.5235, allocations: 58.56 kB / 0.8687 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.5236, allocations: 20.86 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.5242, allocations: 465.5 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5242, allocations: 34.52 kB / 0.8692 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.5242, allocations: 3.938 kB / 0.8692 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0009887/0.5252, allocations: 0.5207 MB / 0.8698 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.5252, allocations: 55.41 kB / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.5253, allocations: 96.98 kB / 0.8699 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.5253, allocations: 25.7 kB / 0.8699 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.5254, allocations: 80.14 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.5254, allocations: 35.45 kB / 0.87 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5254, allocations: 0 / 0.87 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.5255, allocations: 318.8 kB / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.5255, allocations: 16 kB / 0.8704 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.5256, allocations: 12 kB / 0.8704 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.5257, allocations: 28.73 kB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5257, allocations: 4 kB / 0.8704 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001709/0.5259, allocations: 90.33 kB / 0.8705 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5259, allocations: 9.25 kB / 0.8705 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5259, allocations: 0 / 0.8705 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5259, allocations: 3.984 kB / 0.8705 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.526, allocations: 16 kB / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.526, allocations: 4 kB / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.5261, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5261, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.5261, allocations: 113 kB / 0.8706 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.5262, allocations: 11.86 kB / 0.8706 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.5264, allocations: 94.14 kB / 0.8707 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5264, allocations: 7.984 kB / 0.8707 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5264, allocations: 0 / 0.8707 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5264, allocations: 0 / 0.8707 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.5268, allocations: 319.1 kB / 0.871 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5268, allocations: 4.031 kB / 0.871 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.5269, allocations: 31.88 kB / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.5269, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.527, allocations: 4 kB / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.527, allocations: 4 kB / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.527, allocations: 0 / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.5272, allocations: 213.3 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.5273, allocations: 89.03 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.5273, allocations: 3.953 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.5274, allocations: 4.062 kB / 0.8714 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.5274, allocations: 7.984 kB / 0.8714 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5275, allocations: 7.938 kB / 0.8714 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.5275, allocations: 79.28 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5275, allocations: 4 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002808/0.5278, allocations: 47.94 kB / 0.8715 GB, free: 10.54 MB / 0.5417 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 () * 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 (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.00023/0.528, allocations: 155.1 kB / 0.8717 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.5281, allocations: 55.88 kB / 0.8717 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5282, allocations: 4 kB / 0.8717 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.5282, allocations: 28 kB / 0.8717 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.5283, allocations: 4.484 kB / 0.8717 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.5286, allocations: 124.1 kB / 0.8719 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5288, allocations: 0.6885 MB / 0.8725 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.202e-05/0.5289, allocations: 8 kB / 0.8725 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.5289, allocations: 19.38 kB / 0.8726 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5289, allocations: 0 / 0.8726 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of Templates: time 0.00324/0.5322, allocations: 1.279 MB / 0.8738 GB, free: 8.152 MB / 0.5417 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)