Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 192.7 kB / 16.53 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.55 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3106, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001771/0.3124, allocations: 0.6167 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.3131, allocations: 348.9 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.3131, allocations: 3.938 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.3132, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.494e-05/0.3132, allocations: 4 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.3137, allocations: 119.5 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.3137, allocations: 19.98 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.3138, allocations: 11.97 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.3138, allocations: 15.88 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.3139, allocations: 11.92 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3139, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.3143, allocations: 275.7 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3143, allocations: 15.98 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.3143, allocations: 11.92 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3145, allocations: 99.78 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 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.0004159/0.315, allocations: 367.6 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.315, allocations: 12.03 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.3151, allocations: 0.9375 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3152, allocations: 176.4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3152, allocations: 384 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.3153, allocations: 8.359 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3154, allocations: 50.25 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3154, allocations: 192 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3154, allocations: 7.922 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3154, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.3155, allocations: 23.92 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.3157, allocations: 165.6 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3158, allocations: 62.55 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.3159, allocations: 28.86 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.3166, allocations: 457.5 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3166, allocations: 34.56 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3166, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001274/0.3179, allocations: 0.5956 MB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.318, allocations: 55.34 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.318, allocations: 97.84 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3181, allocations: 29.7 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.3181, allocations: 80.14 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3181, allocations: 35.45 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.3182, allocations: 29.72 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3183, allocations: 318.8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.3184, allocations: 20 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.3184, allocations: 23.98 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.3185, allocations: 52.23 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3185, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.3187, allocations: 109.5 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3187, allocations: 5.875 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3187, allocations: 3.938 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3187, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3188, allocations: 23.98 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3189, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.3189, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3189, allocations: 15.94 kB / 1.072 GB, free: 5.68 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.319, allocations: 113.8 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.319, allocations: 11.84 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3193, allocations: 109.6 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3193, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3193, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3193, allocations: 4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3197, allocations: 362.4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3197, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3198, allocations: 23.98 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3198, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3198, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3199, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3199, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3201, allocations: 227.5 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3202, allocations: 93.11 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3202, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.3203, allocations: 11.94 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.3203, allocations: 7.984 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3203, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.3204, allocations: 79.28 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3204, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002865/0.3207, allocations: 43.98 kB / 1.073 GB, free: 4.504 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.3209, allocations: 147.8 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3211, allocations: 67.84 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3211, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.3211, allocations: 39.92 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3214, allocations: 4.562 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3217, allocations: 186 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.322, allocations: 0.6924 MB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.322, allocations: 11.94 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.322, allocations: 11.44 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3221, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.004204/0.3263, allocations: 1.414 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)