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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113.9 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9458/0.9478, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001698/0.9495, allocations: 0.6043 MB / 1.263 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006283/0.9502, allocations: 350.2 kB / 1.264 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.9502, allocations: 0.875 kB / 1.264 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.9502, allocations: 0 / 1.264 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.753e-05/0.9502, allocations: 0 / 1.264 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.9507, allocations: 118.2 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.9508, allocations: 14.91 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.9508, allocations: 2.516 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.9508, allocations: 2.609 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.9509, allocations: 11.44 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.9509, allocations: 0.7188 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.9514, allocations: 269.3 kB / 1.264 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.9514, allocations: 5.953 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.9514, allocations: 6.719 kB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.9516, allocations: 93.64 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9517, allocations: 0 / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9517, allocations: 0.6875 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.9517, allocations: 4 kB / 1.264 GB, free: 7.25 MB / 0.9981 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.0003018/0.952, allocations: 347.7 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.952, allocations: 9.281 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.9521, allocations: 2.719 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.9522, allocations: 162.6 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9522, allocations: 1.094 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.9522, allocations: 5.859 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.9523, allocations: 40.84 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9523, allocations: 4.844 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9523, allocations: 4.844 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9524, allocations: 4 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.9524, allocations: 2.781 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.9525, allocations: 152.2 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.9526, allocations: 20.25 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.9526, allocations: 7.969 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/0.9532, allocations: 463.4 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.9532, allocations: 36.17 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9533, allocations: 4 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004673/0.9537, allocations: 248.3 kB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.9538, allocations: 55.34 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.9538, allocations: 97.66 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.9538, allocations: 27.05 kB / 1.266 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.9538, allocations: 80.95 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.9539, allocations: 22.95 kB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.9539, allocations: 14.38 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.954, allocations: 316.8 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.954, allocations: 3.766 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.954, allocations: 16.78 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.9541, allocations: 28.02 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9541, allocations: 4 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.257e-05/0.9542, allocations: 52.91 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9542, allocations: 9.438 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9542, allocations: 0.7812 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9542, allocations: 0.7969 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.9543, allocations: 11.42 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.9543, allocations: 5.141 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.9543, allocations: 4.766 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.9543, allocations: 2.281 kB / 1.266 GB, free: 4.891 MB / 0.9981 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 4.476e-05/0.9544, allocations: 116 kB / 1.266 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9544, allocations: 5.438 kB / 1.266 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.9546, allocations: 55.97 kB / 1.266 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9546, allocations: 0 / 1.266 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9546, allocations: 0.9062 kB / 1.266 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9546, allocations: 0 / 1.266 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.281e-05/0.9547, allocations: 153.7 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9547, allocations: 4.5 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.9547, allocations: 9.453 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9547, allocations: 4.594 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9547, allocations: 1.953 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9548, allocations: 0 / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9548, allocations: 1.344 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.9549, allocations: 78.83 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.9549, allocations: 78.53 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.955, allocations: 5.859 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.955, allocations: 6.078 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.955, allocations: 5.453 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.955, allocations: 6.078 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.891e-05/0.9551, allocations: 77.69 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9551, allocations: 0.7188 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000224/0.9553, allocations: 28.59 kB / 1.267 GB, free: 4.258 MB / 0.9981 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.9555, allocations: 131 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.9556, allocations: 22.09 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9556, allocations: 0 / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.9556, allocations: 7.562 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.9558, allocations: 4.75 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.956, allocations: 141 kB / 1.267 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.9562, allocations: 0.6766 MB / 1.268 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.9562, allocations: 9.531 kB / 1.268 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.9562, allocations: 0 / 1.268 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of Templates: time 0.002914/0.9591, allocations: 0.7716 MB / 1.269 GB, free: 3.238 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.900529087986797] Failed to read output from testmodel.py, exit status != 0: 0.9673631701152772 0.98036948 0.026103345 Calling exit ...