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.001436/0.001436, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001409/0.00141, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.782/2.782, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] 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.002145/0.002145, allocations: 75.88 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3145, allocations: 151.6 MB / 1.176 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001962/0.3165, allocations: 0.5844 MB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007546/0.3173, allocations: 347.1 kB / 1.177 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.3173, allocations: 0 / 1.177 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.3173, allocations: 7.938 kB / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.732e-05/0.3174, allocations: 3.938 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.3179, allocations: 111.7 kB / 1.177 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.647e-05/0.318, allocations: 8 kB / 1.177 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.3181, allocations: 4 kB / 1.177 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.3181, allocations: 7.984 kB / 1.177 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.3182, allocations: 7.984 kB / 1.177 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.3182, allocations: 0 / 1.177 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3186, allocations: 271.7 kB / 1.177 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3187, allocations: 7.938 kB / 1.177 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3187, allocations: 7.984 kB / 1.177 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3189, allocations: 91.72 kB / 1.177 GB, free: 4.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3189, allocations: 3.938 kB / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3189, allocations: 0 / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3189, allocations: 0 / 1.177 GB, free: 4.398 MB / 0.92 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.0004348/0.3194, allocations: 343.3 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3194, allocations: 12.03 kB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.3195, allocations: 12.86 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3197, allocations: 164.3 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3197, allocations: 384 / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3197, allocations: 8.359 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3198, allocations: 34.27 kB / 1.178 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3199, allocations: 4.172 kB / 1.178 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3199, allocations: 3.938 kB / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3199, allocations: 0 / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.3199, allocations: 4 kB / 1.178 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.3201, allocations: 153.7 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.3202, allocations: 26.5 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.3202, allocations: 4.859 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/0.321, allocations: 465.5 kB / 1.178 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.321, allocations: 30.56 kB / 1.179 GB, free: 2.902 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.321, allocations: 0 / 1.179 GB, free: 2.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.3216, allocations: 254.3 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3216, allocations: 59.56 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.3217, allocations: 93.86 kB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3218, allocations: 29.7 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.3218, allocations: 80.14 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3218, allocations: 15.89 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3219, allocations: 13.72 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.322, allocations: 314.8 kB / 1.179 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.322, allocations: 4 kB / 1.179 GB, free: 1.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.3221, allocations: 25.77 kB / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.3221, allocations: 25.72 kB / 1.179 GB, free: 1.895 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3221, allocations: 3.938 kB / 1.179 GB, free: 1.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.3223, allocations: 57.62 kB / 1.179 GB, free: 1.828 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3223, allocations: 7.938 kB / 1.179 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3223, allocations: 3.984 kB / 1.179 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3223, allocations: 8.062 kB / 1.179 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.3224, allocations: 4 kB / 1.179 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3224, allocations: 0 / 1.179 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.3224, allocations: 4 kB / 1.179 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3224, allocations: 4 kB / 1.179 GB, free: 1.797 MB / 0.92 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.51e-05/0.3225, allocations: 105.8 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3226, allocations: 7.938 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.3227, allocations: 65.11 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3227, allocations: 0 / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3227, allocations: 0 / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3227, allocations: 0 / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3229, allocations: 153.7 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3229, allocations: 0 / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.3229, allocations: 4 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.323, allocations: 7.938 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.323, allocations: 0 / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.323, allocations: 0 / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-06/0.323, allocations: 3.984 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3231, allocations: 85.28 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.3232, allocations: 81.06 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3232, allocations: 7.969 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.3233, allocations: 0 / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.3233, allocations: 3.984 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3233, allocations: 7.938 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.3233, allocations: 79.34 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002167/0.3236, allocations: 27.94 kB / 1.18 GB, free: 1.062 MB / 0.92 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.0002481/0.3238, allocations: 127.2 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.3239, allocations: 19.98 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3239, allocations: 0 / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.324, allocations: 11.88 kB / 1.18 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.3241, allocations: 4 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.3244, allocations: 139.3 kB / 1.18 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3247, allocations: 0.6768 MB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3248, allocations: 11.44 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3248, allocations: 0 / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of Templates: time 0.00266/0.3274, allocations: 0.7646 MB / 1.182 GB, free: 15.25 MB / 0.9356 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.244164411909878] Failed to read output from testmodel.py, exit status != 0: 0.3352653640322387 0.34835405799999997 0.026802812000000002 Calling exit ...