Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 188.3 kB / 7.808 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4613/0.4613, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 342.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009784, allocations: 91.48 kB / 415.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.04e-05, allocations: 4 kB / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.4073, allocations: 100.9 MB / 0.6514 GB, free: 7.781 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4076, allocations: 79.94 kB / 0.6515 GB, free: 7.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01471/0.4223, allocations: 4.747 MB / 0.6561 GB, free: 2.965 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4223, allocations: 2.062 kB / 0.6561 GB, free: 2.965 MB / 474.7 MB 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.0003296/0.4227, allocations: 358.3 kB / 0.6565 GB, free: 2.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4227, allocations: 12.03 kB / 0.6565 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.4228, allocations: 3.984 kB / 0.6565 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4229, allocations: 174.9 kB / 0.6567 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4229, allocations: 3.984 kB / 0.6567 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.423, allocations: 11.94 kB / 0.6567 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.577e-05/0.4231, allocations: 8 kB / 0.6567 GB, free: 2.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.4231, allocations: 49.67 kB / 0.6567 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4232, allocations: 0 / 0.6567 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4232, allocations: 4 kB / 0.6567 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4232, allocations: 0 / 0.6567 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.4234, allocations: 150.1 kB / 0.6569 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.4234, allocations: 33.66 kB / 0.6569 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.4235, allocations: 24.86 kB / 0.6569 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.4242, allocations: 465.5 kB / 0.6574 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4242, allocations: 34.56 kB / 0.6574 GB, free: 1.422 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.4242, allocations: 0 / 0.6574 GB, free: 1.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001037/0.4253, allocations: 0.5135 MB / 0.6579 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.4253, allocations: 55.34 kB / 0.658 GB, free: 0.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.4254, allocations: 97 kB / 0.6581 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.4254, allocations: 25.7 kB / 0.6581 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.4254, allocations: 80.14 kB / 0.6582 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.4255, allocations: 35.45 kB / 0.6582 GB, free: 0.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.4255, allocations: 8.688 kB / 0.6582 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.4256, allocations: 318.8 kB / 0.6585 GB, free: 176 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.4256, allocations: 16 kB / 0.6585 GB, free: 160 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.4257, allocations: 21.75 kB / 0.6585 GB, free: 140 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.962e-05/0.4258, allocations: 16 kB / 0.6586 GB, free: 124 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4258, allocations: 4 kB / 0.6586 GB, free: 120 kB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/0.426, allocations: 93.58 kB / 0.6586 GB, free: 20 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.426, allocations: 4 kB / 0.6587 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.426, allocations: 0.5625 kB / 0.6587 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.426, allocations: 0 / 0.6587 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.4261, allocations: 24.05 kB / 0.6587 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4262, allocations: 7.375 kB / 0.6587 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.4262, allocations: 3.906 kB / 0.6587 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4262, allocations: 7.938 kB / 0.6587 GB, free: 15.98 MB / 490.7 MB 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.517e-05/0.4263, allocations: 106.5 kB / 0.6588 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4263, allocations: 7.906 kB / 0.6588 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4265, allocations: 101.7 kB / 0.6589 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4266, allocations: 4 kB / 0.6589 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4266, allocations: 0 / 0.6589 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4266, allocations: 0 / 0.6589 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.427, allocations: 315.9 kB / 0.6592 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.427, allocations: 0 / 0.6592 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.4271, allocations: 19.98 kB / 0.6592 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4271, allocations: 4 kB / 0.6592 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4271, allocations: 0 / 0.6592 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4272, allocations: 4 kB / 0.6592 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4272, allocations: 0 / 0.6592 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002897/0.4275, allocations: 214.6 kB / 0.6594 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.4275, allocations: 89 kB / 0.6595 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4276, allocations: 7.453 kB / 0.6595 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.4277, allocations: 64 / 0.6595 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.4277, allocations: 11.98 kB / 0.6595 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4277, allocations: 8 kB / 0.6595 GB, free: 15.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.818e-05/0.4277, allocations: 79.28 kB / 0.6596 GB, free: 14.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.428, allocations: 51.92 kB / 0.6597 GB, free: 14.89 MB / 490.7 MB 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.000274/0.4283, allocations: 151.1 kB / 0.6598 GB, free: 14.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.4284, allocations: 63.97 kB / 0.6599 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4284, allocations: 0 / 0.6599 GB, free: 14.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.4285, allocations: 34.12 kB / 0.6599 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.4286, allocations: 10.48 kB / 0.6599 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.429, allocations: 116.3 kB / 0.66 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.4293, allocations: 0.7036 MB / 0.6607 GB, free: 13.76 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4293, allocations: 0 / 0.6607 GB, free: 13.76 MB / 490.7 MB Notification: Performance of Templates: time 0.003858/0.4332, allocations: 1.467 MB / 0.6622 GB, free: 12.31 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)