Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8264/0.8264, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 175.4 kB / 187.3 MB, free: 11.9 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.456/1.456, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009461/0.0009462, allocations: 90.16 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 273 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.351e-05, allocations: 4 kB / 0.6835 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4819, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.6008, allocations: 108.6 MB / 0.8703 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.6011, allocations: 80.27 kB / 0.8704 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.6141, allocations: 4.566 MB / 0.8749 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6142, allocations: 0 / 0.8749 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6142, allocations: 0 / 0.8749 GB, free: 11.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003209/0.6145, allocations: 346.4 kB / 0.8752 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6146, allocations: 8.031 kB / 0.8752 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.6146, allocations: 4 kB / 0.8752 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.6148, allocations: 171 kB / 0.8754 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6148, allocations: 7.953 kB / 0.8754 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.6148, allocations: 0 / 0.8754 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.6149, allocations: 37.69 kB / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6149, allocations: 0 / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.6149, allocations: 0 / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6149, allocations: 4 kB / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.615, allocations: 0 / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.6152, allocations: 153.7 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.6152, allocations: 26.55 kB / 0.8756 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.6152, allocations: 12.88 kB / 0.8756 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.6159, allocations: 461.5 kB / 0.876 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6159, allocations: 34.56 kB / 0.8761 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6159, allocations: 0 / 0.8761 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005106/0.6164, allocations: 246.3 kB / 0.8763 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6165, allocations: 51.41 kB / 0.8764 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.6165, allocations: 89.12 kB / 0.8764 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.6166, allocations: 29.7 kB / 0.8765 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.6166, allocations: 88.12 kB / 0.8766 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.6166, allocations: 3.906 kB / 0.8766 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.6166, allocations: 0 / 0.8766 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6168, allocations: 314.8 kB / 0.8769 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.6168, allocations: 4 kB / 0.8769 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.6168, allocations: 17.72 kB / 0.8769 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.6169, allocations: 16.11 kB / 0.8769 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.6169, allocations: 3.938 kB / 0.8769 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.299e-05/0.617, allocations: 57.5 kB / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.617, allocations: 4 kB / 0.877 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.617, allocations: 4 kB / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.617, allocations: 0 / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.6171, allocations: 7.984 kB / 0.877 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6171, allocations: 0 / 0.877 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.6171, allocations: 8.062 kB / 0.877 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.6172, allocations: 0 / 0.877 GB, free: 8.797 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.6172, allocations: 104.9 kB / 0.8771 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.6173, allocations: 7.953 kB / 0.8771 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.6174, allocations: 57.17 kB / 0.8771 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6174, allocations: 3.938 kB / 0.8771 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6174, allocations: 0 / 0.8771 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6174, allocations: 4 kB / 0.8771 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6175, allocations: 149.7 kB / 0.8773 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6176, allocations: 0 / 0.8773 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.6176, allocations: 8 kB / 0.8773 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6176, allocations: 192 / 0.8773 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6176, allocations: 3.953 kB / 0.8773 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6177, allocations: 0 / 0.8773 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6177, allocations: 3.938 kB / 0.8773 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.6178, allocations: 77.11 kB / 0.8774 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.6179, allocations: 89.19 kB / 0.8775 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.6179, allocations: 0 / 0.8775 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.6179, allocations: 7.953 kB / 0.8775 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.618, allocations: 8 kB / 0.8775 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.618, allocations: 0 / 0.8775 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.618, allocations: 75.28 kB / 0.8776 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.618, allocations: 0 / 0.8776 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002238/0.6182, allocations: 35.92 kB / 0.8776 GB, free: 8.074 MB / 0.5417 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 () * 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 (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.0002516/0.6185, allocations: 143.2 kB / 0.8777 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.6186, allocations: 15.94 kB / 0.8777 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6186, allocations: 0 / 0.8777 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.6186, allocations: 11.94 kB / 0.8777 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.6187, allocations: 7.938 kB / 0.8778 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.6189, allocations: 71.19 kB / 0.8778 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6192, allocations: 0.6809 MB / 0.8785 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.6193, allocations: 14.48 kB / 0.8785 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.6193, allocations: 11.44 kB / 0.8785 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6193, allocations: 0 / 0.8785 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of Templates: time 0.002739/0.622, allocations: 0.8067 MB / 0.8793 GB, free: 6.289 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)