Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_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.001563/0.001563, allocations: 100.4 kB / 16.27 MB, free: 5.965 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.00174/0.00174, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.238/2.238, allocations: 390.2 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 65.92 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002064/0.3082, allocations: 0.6252 MB / 0.9509 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.309, allocations: 346.7 kB / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.309, allocations: 0 / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.3091, allocations: 3.938 kB / 0.9512 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.3091, allocations: 4 kB / 0.9512 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.3097, allocations: 123.6 kB / 0.9513 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.3097, allocations: 16 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.3098, allocations: 7.984 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.3098, allocations: 11.94 kB / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.3099, allocations: 11.92 kB / 0.9514 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.3099, allocations: 0 / 0.9514 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3103, allocations: 271.7 kB / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3103, allocations: 19.97 kB / 0.9517 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.3104, allocations: 7.938 kB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3106, allocations: 103.8 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3106, allocations: 0 / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.427e-06/0.3106, allocations: 4 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3106, allocations: 0 / 0.9518 GB, free: 7.289 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004528/0.3111, allocations: 355.7 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3111, allocations: 8.031 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.3112, allocations: 8.844 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3113, allocations: 172.4 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3113, allocations: 4.375 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3113, allocations: 8.312 kB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3115, allocations: 46.25 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3115, allocations: 4.188 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3115, allocations: 3.938 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3115, allocations: 3.938 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.3116, allocations: 19.98 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3118, allocations: 161.7 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3119, allocations: 66.48 kB / 0.9526 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.3119, allocations: 20.86 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000708/0.3127, allocations: 465.5 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3127, allocations: 34.5 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3127, allocations: 4 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001274/0.314, allocations: 0.5975 MB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.314, allocations: 55.41 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.3141, allocations: 97.84 kB / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3141, allocations: 29.7 kB / 0.9539 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3142, allocations: 80.14 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3142, allocations: 39.44 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.3143, allocations: 29.72 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3144, allocations: 326.8 kB / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.3144, allocations: 16 kB / 0.9543 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.3145, allocations: 24.08 kB / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.3146, allocations: 72.59 kB / 0.9544 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3146, allocations: 0 / 0.9544 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001633/0.3148, allocations: 101.5 kB / 0.9545 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3148, allocations: 4 kB / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3148, allocations: 0 / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3148, allocations: 0 / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3149, allocations: 23.98 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3149, allocations: 7.938 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.315, allocations: 0 / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.315, allocations: 8 kB / 0.9546 GB, free: 4.039 MB / 0.7325 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 8.071e-05/0.3151, allocations: 111.8 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3151, allocations: 7.938 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.3153, allocations: 105.6 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3153, allocations: 0 / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3153, allocations: 0 / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3153, allocations: 7.938 kB / 0.9548 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.3157, allocations: 350.5 kB / 0.9551 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3157, allocations: 3.938 kB / 0.9551 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3158, allocations: 19.98 kB / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.3159, allocations: 4 kB / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3159, allocations: 0 / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3159, allocations: 3.938 kB / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3159, allocations: 0 / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3162, allocations: 219.4 kB / 0.9554 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.3162, allocations: 93.03 kB / 0.9554 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3162, allocations: 0 / 0.9554 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.3163, allocations: 3.984 kB / 0.9555 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.3164, allocations: 8 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3164, allocations: 4 kB / 0.9555 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.3164, allocations: 87.2 kB / 0.9555 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3164, allocations: 0 / 0.9555 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002742/0.3167, allocations: 44 kB / 0.9556 GB, free: 2.879 MB / 0.7325 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.0002438/0.317, allocations: 151.2 kB / 0.9557 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.3171, allocations: 63.91 kB / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3171, allocations: 0 / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.3172, allocations: 36.36 kB / 0.9558 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3174, allocations: 9.312 kB / 0.9558 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.3178, allocations: 204 kB / 0.956 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3181, allocations: 0.6922 MB / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3181, allocations: 11.44 kB / 0.9567 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3181, allocations: 0 / 0.9567 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of Templates: time 0.002931/0.3211, allocations: 1.217 MB / 0.9579 GB, free: 452 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)