Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 173.9 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8621/0.8621, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.817e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001196/0.001224, allocations: 0.5955 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004801/0.001704, allocations: 310.9 kB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001726, allocations: 0 / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.001744, allocations: 3.938 kB / 0.9527 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.001764, allocations: 3.938 kB / 0.9527 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.002127, allocations: 115.6 kB / 0.9528 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.002179, allocations: 7.984 kB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.002224, allocations: 4 kB / 0.9528 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.002255, allocations: 7.984 kB / 0.9528 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.002309, allocations: 7.984 kB / 0.9528 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.002323, allocations: 0 / 0.9528 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.002563, allocations: 251.7 kB / 0.953 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.002578, allocations: 7.938 kB / 0.9531 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.002595, allocations: 8 kB / 0.9531 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.002767, allocations: 119.7 kB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002769, allocations: 0 / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00277, allocations: 3.938 kB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002774, allocations: 0 / 0.9532 GB, free: 1.488 MB / 0.9011 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.0002838/0.003058, allocations: 266.2 kB / 0.9534 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.003094, allocations: 8.031 kB / 0.9534 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.003148, allocations: 8.938 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.003236, allocations: 113.7 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003246, allocations: 384 / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.003267, allocations: 8.375 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/0.003365, allocations: 59.95 kB / 0.9536 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.003372, allocations: 192 / 0.9536 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003381, allocations: 384 / 0.9536 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003386, allocations: 384 / 0.9536 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.003405, allocations: 7.938 kB / 0.9536 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.003517, allocations: 105.3 kB / 0.9537 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/0.003559, allocations: 22.55 kB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.003575, allocations: 12.8 kB / 0.9538 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.00392, allocations: 75.98 kB / 0.9538 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.003943, allocations: 34.55 kB / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.003944, allocations: 0 / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004246/0.004369, allocations: 181.2 kB / 0.954 GB, free: 460 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.004396, allocations: 51.41 kB / 0.9541 GB, free: 396 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.004445, allocations: 97.8 kB / 0.9542 GB, free: 288 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.004456, allocations: 29.7 kB / 0.9542 GB, free: 252 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.00448, allocations: 84.12 kB / 0.9543 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.004503, allocations: 7.906 kB / 0.9543 GB, free: 156 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.004529, allocations: 21.7 kB / 0.9543 GB, free: 128 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.004618, allocations: 314.8 kB / 0.9546 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.004631, allocations: 4 kB / 0.9546 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.004652, allocations: 26.05 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.004687, allocations: 25.66 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.004688, allocations: 0 / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.412e-05/0.004752, allocations: 49.64 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004765, allocations: 11.98 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00477, allocations: 0 / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.004783, allocations: 0 / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.004832, allocations: 8 kB / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.004838, allocations: 4 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.004849, allocations: 4 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.004858, allocations: 8.141 kB / 0.9548 GB, free: 15.65 MB / 0.9167 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 5.265e-05/0.004911, allocations: 105.8 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.004923, allocations: 7.984 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.005024, allocations: 61.23 kB / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.005026, allocations: 0 / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00503, allocations: 0 / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005033, allocations: 3.938 kB / 0.9549 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.408e-05/0.005097, allocations: 105.3 kB / 0.955 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005098, allocations: 0 / 0.955 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.005137, allocations: 7.984 kB / 0.955 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005139, allocations: 0 / 0.955 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.005144, allocations: 7.938 kB / 0.955 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005145, allocations: 0 / 0.955 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005146, allocations: 0 / 0.955 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.005247, allocations: 81.06 kB / 0.9551 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.005255, allocations: 11.98 kB / 0.9551 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.005264, allocations: 0 / 0.9551 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.005285, allocations: 3.984 kB / 0.9551 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.005299, allocations: 8 kB / 0.9551 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005303, allocations: 4 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.005327, allocations: 83.22 kB / 0.9552 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005327, allocations: 0 / 0.9552 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001422/0.00547, allocations: 23.94 kB / 0.9553 GB, free: 15.08 MB / 0.9167 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.0001525/0.005622, allocations: 123.2 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.005692, allocations: 19.98 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005694, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.005705, allocations: 16.16 kB / 0.9554 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.005812, allocations: 0 / 0.9554 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.006033, allocations: 134.1 kB / 0.9555 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.006069, allocations: 59.34 kB / 0.9556 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.006089, allocations: 16.5 kB / 0.9556 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.006089, allocations: 0 / 0.9556 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of Templates: time 0.001667/0.007756, allocations: 0.7929 MB / 0.9564 GB, free: 13.86 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.2104944214224815] Failed to read output from testmodel.py, exit status != 0: 0.013458945788443089 0.021658628000000003 0.017229251 Calling exit ...