Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_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.001738/0.001738, allocations: 107 kB / 15.98 MB, free: 6.359 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.001948/0.001949, allocations: 198.8 kB / 16.91 MB, free: 6.191 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.456/1.456, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002469, allocations: 60.28 kB / 0.924 GB, free: 328 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8299, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00176/0.8317, allocations: 0.6567 MB / 1.083 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005604/0.8323, allocations: 342.8 kB / 1.083 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.8323, allocations: 0 / 1.083 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.8324, allocations: 0 / 1.083 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.839e-05/0.8324, allocations: 0 / 1.083 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.8328, allocations: 104.7 kB / 1.083 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.8329, allocations: 10.53 kB / 1.084 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.8329, allocations: 2.609 kB / 1.084 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.8329, allocations: 3.094 kB / 1.084 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.833, allocations: 14.56 kB / 1.084 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.833, allocations: 0.875 kB / 1.084 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.8334, allocations: 272.5 kB / 1.084 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.8334, allocations: 5.922 kB / 1.084 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.8335, allocations: 6.094 kB / 1.084 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.8336, allocations: 56.28 kB / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8336, allocations: 0 / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8336, allocations: 0 / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8336, allocations: 8.875 kB / 1.084 GB, free: 0.8359 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002904/0.8339, allocations: 339.2 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.834, allocations: 9.406 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.834, allocations: 2.938 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.055e-05/0.8341, allocations: 168.4 kB / 1.084 GB, free: 276 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.8341, allocations: 5.312 kB / 1.084 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.8341, allocations: 2.281 kB / 1.084 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.8342, allocations: 37.2 kB / 1.084 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.8343, allocations: 4.188 kB / 1.084 GB, free: 232 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.8343, allocations: 3.938 kB / 1.084 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8343, allocations: 0.5625 kB / 1.084 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.8343, allocations: 3.094 kB / 1.084 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.8344, allocations: 152.5 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.8345, allocations: 25.09 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.8345, allocations: 7.609 kB / 1.085 GB, free: 16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.8353, allocations: 462.5 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8354, allocations: 31.38 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8354, allocations: 4 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005392/0.8359, allocations: 255.7 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.836, allocations: 53.31 kB / 1.085 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.8361, allocations: 93.8 kB / 1.085 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.8361, allocations: 26.64 kB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.8361, allocations: 84.84 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.8362, allocations: 14.39 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.8362, allocations: 24.05 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8364, allocations: 311.5 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.8364, allocations: 4.703 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.8364, allocations: 24.23 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.8365, allocations: 28.36 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8365, allocations: 4 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.8366, allocations: 47.75 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8366, allocations: 13.48 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8366, allocations: 4.906 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8367, allocations: 1.297 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.8367, allocations: 11.94 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8367, allocations: 0 / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.8368, allocations: 4.703 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.8368, allocations: 2.547 kB / 1.086 GB, free: 14.48 MB / 0.8419 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 8.654e-05/0.8369, allocations: 121.8 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.8369, allocations: 5.062 kB / 1.086 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.8371, allocations: 51.19 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8371, allocations: 1.188 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8371, allocations: 0 / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8371, allocations: 5.406 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.8372, allocations: 152.4 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8372, allocations: 5.062 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.8373, allocations: 6.391 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8373, allocations: 3.938 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.8373, allocations: 0.9062 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8373, allocations: 0.5156 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8373, allocations: 1.125 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.8375, allocations: 80.78 kB / 1.086 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.8375, allocations: 79.12 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8376, allocations: 5.922 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.8376, allocations: 4 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.8376, allocations: 3.344 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.8376, allocations: 5.594 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.8377, allocations: 77.55 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8377, allocations: 3.938 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00022/0.8379, allocations: 24.47 kB / 1.087 GB, free: 13.85 MB / 0.8419 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.0002078/0.8381, allocations: 119 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.8382, allocations: 22.36 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8382, allocations: 0 / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/0.8383, allocations: 10.91 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.8384, allocations: 7.375 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.8387, allocations: 152.4 kB / 1.087 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.839, allocations: 0.6765 MB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.8391, allocations: 9.781 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.8391, allocations: 4.125 kB / 1.088 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.002571/0.8416, allocations: 0.7696 MB / 1.088 GB, free: 12.82 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)