Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5445/0.5445, allocations: 94.78 MB / 102.2 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001182/0.001182, allocations: 182.9 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.509/1.509, allocations: 170.6 MB / 319.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001708, allocations: 103.8 kB / 381.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.229e-05, allocations: 4 kB / 449.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 61.52 MB / 0.4987 GB, free: 4.102 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/0.7019, allocations: 92.94 MB / 0.5894 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.7023, allocations: 72.8 kB / 0.5895 GB, free: 8.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.714, allocations: 3.999 MB / 0.5934 GB, free: 4.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.7141, allocations: 0 / 0.5934 GB, free: 4.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.7141, allocations: 0 / 0.5934 GB, free: 4.98 MB / 410.7 MB 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.000431/0.7145, allocations: 347.2 kB / 0.5937 GB, free: 4.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.7146, allocations: 12.62 kB / 0.5938 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.7147, allocations: 8.734 kB / 0.5938 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.7149, allocations: 160.3 kB / 0.5939 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.7149, allocations: 0.5625 kB / 0.5939 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.715, allocations: 5.75 kB / 0.5939 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.342e-05/0.7151, allocations: 6.672 kB / 0.5939 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.7152, allocations: 35.52 kB / 0.594 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7152, allocations: 0.9688 kB / 0.594 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.7152, allocations: 0 / 0.594 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7152, allocations: 0.75 kB / 0.594 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.7155, allocations: 132.9 kB / 0.5941 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.7155, allocations: 23.2 kB / 0.5941 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.7156, allocations: 16.47 kB / 0.5941 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.7163, allocations: 457.2 kB / 0.5946 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.7163, allocations: 35.78 kB / 0.5946 GB, free: 3.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.7163, allocations: 0 / 0.5946 GB, free: 3.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007828/0.7171, allocations: 241.6 kB / 0.5948 GB, free: 3.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.7172, allocations: 56 kB / 0.5949 GB, free: 3.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.7173, allocations: 94.95 kB / 0.595 GB, free: 3.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.7173, allocations: 27.23 kB / 0.595 GB, free: 3.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.7174, allocations: 80.14 kB / 0.5951 GB, free: 2.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.7174, allocations: 9.719 kB / 0.5951 GB, free: 2.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7174, allocations: 0 / 0.5951 GB, free: 2.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7176, allocations: 321.9 kB / 0.5954 GB, free: 2.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.7176, allocations: 0 / 0.5954 GB, free: 2.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.7176, allocations: 17.72 kB / 0.5954 GB, free: 2.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.7177, allocations: 11.98 kB / 0.5954 GB, free: 2.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7177, allocations: 1.594 kB / 0.5954 GB, free: 2.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.7178, allocations: 52.8 kB / 0.5955 GB, free: 2.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7179, allocations: 8 kB / 0.5955 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7179, allocations: 3.984 kB / 0.5955 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7179, allocations: 0 / 0.5955 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.718, allocations: 8 kB / 0.5955 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.718, allocations: 3.953 kB / 0.5955 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.718, allocations: 0 / 0.5955 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.718, allocations: 320 / 0.5955 GB, free: 2.543 MB / 410.7 MB 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 8.704e-05/0.7181, allocations: 109 kB / 0.5956 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.7182, allocations: 3.75 kB / 0.5956 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.7183, allocations: 53.75 kB / 0.5957 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7183, allocations: 9.891 kB / 0.5957 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7183, allocations: 0 / 0.5957 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7184, allocations: 3.953 kB / 0.5957 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.7185, allocations: 130.2 kB / 0.5958 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7185, allocations: 0 / 0.5958 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.7185, allocations: 11.98 kB / 0.5958 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7186, allocations: 4 kB / 0.5958 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7186, allocations: 0 / 0.5958 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7186, allocations: 0 / 0.5958 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7186, allocations: 0 / 0.5958 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.7188, allocations: 78.77 kB / 0.5959 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.7188, allocations: 81.02 kB / 0.596 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7189, allocations: 3.938 kB / 0.596 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.7189, allocations: 12.08 kB / 0.596 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.7189, allocations: 0 / 0.596 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.719, allocations: 0 / 0.596 GB, free: 1.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.719, allocations: 79.28 kB / 0.5961 GB, free: 1.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.719, allocations: 0 / 0.5961 GB, free: 1.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.7193, allocations: 27.94 kB / 0.5961 GB, free: 1.863 MB / 410.7 MB 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.0002492/0.7195, allocations: 135.2 kB / 0.5962 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.7196, allocations: 16.14 kB / 0.5962 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7196, allocations: 5 kB / 0.5962 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.7196, allocations: 7.938 kB / 0.5962 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.7198, allocations: 7.953 kB / 0.5962 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.72, allocations: 66.67 kB / 0.5963 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.7203, allocations: 0.6845 MB / 0.597 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.7204, allocations: 2.344 kB / 0.597 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.7204, allocations: 11.44 kB / 0.597 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.7204, allocations: 0 / 0.597 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of Templates: time 0.003179/0.7236, allocations: 0.7668 MB / 0.5977 GB, free: 160 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)