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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7363/0.7363, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009594/0.0009593, allocations: 178.3 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007872/0.0007873, allocations: 78.42 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001631/0.001631, allocations: 273.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004355, allocations: 20 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3172, allocations: 79.28 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4392, allocations: 107.3 MB / 0.8443 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4395, allocations: 75.95 kB / 0.8444 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.4539, allocations: 5.11 MB / 0.8493 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4539, allocations: 0 / 0.8493 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4539, allocations: 0 / 0.8493 GB, free: 13.71 MB / 0.5261 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.0003298/0.4543, allocations: 367.5 kB / 0.8497 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4543, allocations: 8.031 kB / 0.8497 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4544, allocations: 8.844 kB / 0.8497 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.4545, allocations: 164.3 kB / 0.8499 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4545, allocations: 8.375 kB / 0.8499 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4545, allocations: 4.359 kB / 0.8499 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4547, allocations: 46.25 kB / 0.8499 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4547, allocations: 192 / 0.8499 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4547, allocations: 7.938 kB / 0.8499 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4547, allocations: 7.938 kB / 0.8499 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.4548, allocations: 23.92 kB / 0.85 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.455, allocations: 169.6 kB / 0.8501 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.4551, allocations: 58.55 kB / 0.8502 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.4551, allocations: 24.86 kB / 0.8502 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.4557, allocations: 465.5 kB / 0.8506 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4557, allocations: 38.5 kB / 0.8507 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4557, allocations: 0 / 0.8507 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001134/0.4569, allocations: 0.5917 MB / 0.8513 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4569, allocations: 51.41 kB / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.457, allocations: 101.8 kB / 0.8514 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.457, allocations: 25.8 kB / 0.8514 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.457, allocations: 88.08 kB / 0.8515 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4571, allocations: 43.39 kB / 0.8516 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4571, allocations: 4 kB / 0.8516 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.4572, allocations: 314.8 kB / 0.8519 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.4572, allocations: 19.98 kB / 0.8519 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.4573, allocations: 25.61 kB / 0.8519 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.4573, allocations: 52.86 kB / 0.852 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4573, allocations: 0 / 0.852 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001399/0.4575, allocations: 98.09 kB / 0.852 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4575, allocations: 13.23 kB / 0.8521 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.4575, allocations: 4 kB / 0.8521 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.4575, allocations: 0 / 0.8521 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.4576, allocations: 20 kB / 0.8521 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4577, allocations: 0 / 0.8521 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.4577, allocations: 4 kB / 0.8521 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4577, allocations: 3.984 kB / 0.8521 GB, free: 10.5 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.4578, allocations: 117.8 kB / 0.8522 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4578, allocations: 11.94 kB / 0.8522 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.458, allocations: 109.6 kB / 0.8523 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.458, allocations: 4 kB / 0.8523 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.458, allocations: 0 / 0.8523 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.458, allocations: 3.984 kB / 0.8523 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.4584, allocations: 354.4 kB / 0.8527 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4584, allocations: 0 / 0.8527 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4585, allocations: 24 kB / 0.8527 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4585, allocations: 0 / 0.8527 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4585, allocations: 0 / 0.8527 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4585, allocations: 4 kB / 0.8527 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4585, allocations: 7.984 kB / 0.8527 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.4588, allocations: 216.8 kB / 0.8529 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.4588, allocations: 89.03 kB / 0.853 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4589, allocations: 4 kB / 0.853 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.4589, allocations: 7.938 kB / 0.853 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.459, allocations: 7.984 kB / 0.853 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.459, allocations: 4 kB / 0.853 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.459, allocations: 83.34 kB / 0.8531 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.459, allocations: 0 / 0.8531 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002723/0.4593, allocations: 59.86 kB / 0.8532 GB, free: 9.312 MB / 0.5261 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 (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.000232/0.4595, allocations: 151.4 kB / 0.8533 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.4597, allocations: 71.84 kB / 0.8534 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4597, allocations: 0 / 0.8534 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.4597, allocations: 24.44 kB / 0.8534 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.46, allocations: 11.98 kB / 0.8534 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.4603, allocations: 195 kB / 0.8536 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.4605, allocations: 0.6985 MB / 0.8543 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.4606, allocations: 4 kB / 0.8543 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.4606, allocations: 15.44 kB / 0.8543 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.4606, allocations: 0 / 0.8543 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.003379/0.464, allocations: 1.332 MB / 0.8556 GB, free: 6.762 MB / 0.5261 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)