Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 104.4 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 66.38 kB / 0.8127 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3179, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00207/0.32, allocations: 0.655 MB / 0.9504 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.3207, allocations: 348.9 kB / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.3208, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.3208, allocations: 0 / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.3209, allocations: 3.938 kB / 0.9508 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.3214, allocations: 91.84 kB / 0.9508 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.3215, allocations: 12 kB / 0.9509 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.3215, allocations: 7.984 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.3215, allocations: 7.984 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.3216, allocations: 0 / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3216, allocations: 4 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.322, allocations: 267.7 kB / 0.9511 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.322, allocations: 11.92 kB / 0.9511 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.322, allocations: 0 / 0.9511 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3222, allocations: 55.91 kB / 0.9512 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3222, allocations: 0 / 0.9512 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3222, allocations: 0 / 0.9512 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3222, allocations: 0 / 0.9512 GB, free: 7.766 MB / 0.7325 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.0003743/0.3226, allocations: 351.5 kB / 0.9515 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3227, allocations: 12.03 kB / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.3227, allocations: 0.9375 kB / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3229, allocations: 168.3 kB / 0.9517 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3229, allocations: 4.312 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3229, allocations: 4.375 kB / 0.9517 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.323, allocations: 38.25 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.323, allocations: 192 / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3231, allocations: 7.938 kB / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3231, allocations: 0 / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.652e-05/0.3231, allocations: 4 kB / 0.9518 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3233, allocations: 154 kB / 0.9519 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.3233, allocations: 26.5 kB / 0.9519 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.3234, allocations: 4.859 kB / 0.9519 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.3241, allocations: 461.5 kB / 0.9524 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3242, allocations: 38.56 kB / 0.9524 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3242, allocations: 0 / 0.9524 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005914/0.3248, allocations: 266.1 kB / 0.9527 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3248, allocations: 51.41 kB / 0.9527 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.3249, allocations: 93.86 kB / 0.9528 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3249, allocations: 29.7 kB / 0.9528 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.325, allocations: 84.12 kB / 0.9529 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.325, allocations: 3.906 kB / 0.9529 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.325, allocations: 22.06 kB / 0.9529 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3251, allocations: 310.8 kB / 0.9532 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.3252, allocations: 11.98 kB / 0.9532 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.3252, allocations: 13.72 kB / 0.9533 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.3253, allocations: 29.66 kB / 0.9533 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3253, allocations: 0 / 0.9533 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.3254, allocations: 61.53 kB / 0.9533 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3254, allocations: 7.938 kB / 0.9534 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3254, allocations: 0 / 0.9534 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3254, allocations: 4 kB / 0.9534 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.3255, allocations: 8 kB / 0.9534 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3255, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.3255, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.3255, allocations: 7.984 kB / 0.9534 GB, free: 5.16 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.3256, allocations: 113.4 kB / 0.9535 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3256, allocations: 15.88 kB / 0.9535 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.3258, allocations: 57.12 kB / 0.9536 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3258, allocations: 0 / 0.9536 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3258, allocations: 0 / 0.9536 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3258, allocations: 0 / 0.9536 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3259, allocations: 149.7 kB / 0.9537 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.326, allocations: 0 / 0.9537 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.326, allocations: 11.98 kB / 0.9537 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.326, allocations: 11.94 kB / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.326, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3261, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3261, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.3262, allocations: 69.12 kB / 0.9538 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.3263, allocations: 81.11 kB / 0.9539 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3263, allocations: 11.91 kB / 0.9539 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.3263, allocations: 3.984 kB / 0.9539 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3264, allocations: 8 kB / 0.9539 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3264, allocations: 4 kB / 0.9539 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.3264, allocations: 75.28 kB / 0.954 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3264, allocations: 0 / 0.954 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002176/0.3266, allocations: 24 kB / 0.954 GB, free: 4.434 MB / 0.7325 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 () * Number of clocked 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 (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.0002219/0.3269, allocations: 131.2 kB / 0.9541 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.565e-05/0.327, allocations: 16.22 kB / 0.9541 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.327, allocations: 4.219 kB / 0.9541 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.327, allocations: 11.94 kB / 0.9541 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.3272, allocations: 6.812 kB / 0.9541 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.3274, allocations: 139.3 kB / 0.9543 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3277, allocations: 0.6805 MB / 0.9549 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.3277, allocations: 11.44 kB / 0.955 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.3277, allocations: 0 / 0.955 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of Templates: time 0.002337/0.3301, allocations: 0.7728 MB / 0.9557 GB, free: 2.605 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)