Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001318/0.001318, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001342/0.001342, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.489/1.489, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001887/0.3815, allocations: 0.599 MB / 1.215 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.3823, allocations: 346.7 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.3823, allocations: 3.938 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.3823, allocations: 0 / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.3823, allocations: 0 / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.3828, allocations: 111.7 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.3829, allocations: 23.84 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3829, allocations: 8 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.383, allocations: 0 / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.383, allocations: 4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.383, allocations: 0 / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.3835, allocations: 275.6 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3835, allocations: 4 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.3835, allocations: 11.92 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3837, allocations: 91.72 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3837, allocations: 4 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3837, allocations: 0 / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3837, allocations: 0 / 1.216 GB, free: 15.44 MB / 0.9669 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.0004674/0.3842, allocations: 343.3 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3842, allocations: 8.031 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3843, allocations: 8.875 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3844, allocations: 164.3 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3845, allocations: 384 / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3845, allocations: 4.359 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.3846, allocations: 42.27 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3846, allocations: 192 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3846, allocations: 3.938 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3846, allocations: 3.938 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.3846, allocations: 0 / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.3848, allocations: 153.7 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.3849, allocations: 18.61 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.3849, allocations: 16.91 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008319/0.3857, allocations: 453.5 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3858, allocations: 38.56 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3858, allocations: 0 / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005812/0.3864, allocations: 250.3 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3864, allocations: 55.34 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.3865, allocations: 101.8 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3865, allocations: 26.05 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3865, allocations: 84.14 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3866, allocations: 11.91 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.3866, allocations: 21.66 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3868, allocations: 314.8 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.3868, allocations: 8 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.3868, allocations: 17.75 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.3869, allocations: 29.7 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.3869, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.387, allocations: 49.64 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.387, allocations: 11.94 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.387, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.387, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.3871, allocations: 15.98 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3871, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.3871, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3871, allocations: 8 kB / 1.218 GB, free: 12.85 MB / 0.9669 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 7.949e-05/0.3872, allocations: 113.8 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3872, allocations: 3.938 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3873, allocations: 57.17 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3874, allocations: 8 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3874, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3874, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.3875, allocations: 157.7 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3875, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.3876, allocations: 8 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3876, allocations: 3.938 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3876, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3876, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3876, allocations: 7.938 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3877, allocations: 77.08 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.3878, allocations: 85.09 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3878, allocations: 8 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.3878, allocations: 4.031 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.3878, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3878, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.3879, allocations: 79.28 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002117/0.3881, allocations: 27.92 kB / 1.218 GB, free: 12.11 MB / 0.9669 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.000239/0.3883, allocations: 131.3 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.3884, allocations: 15.88 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3884, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.3885, allocations: 12 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.3886, allocations: 3.984 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.3889, allocations: 139.1 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3892, allocations: 0.6729 MB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.3893, allocations: 11.44 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3893, allocations: 4.125 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of Templates: time 0.002629/0.3919, allocations: 0.7771 MB / 1.22 GB, free: 10.29 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.786564324982464] Failed to read output from testmodel.py, exit status != 0: 0.40027100313454866 0.41367443499999995 0.027021256 Calling exit ...