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.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.001298/0.001298, allocations: 110 kB / 19.7 MB, free: 2.25 MB / 14.72 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.001443/0.001443, allocations: 221.7 kB / 23.01 MB, free: 5.082 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.234/3.234, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 62.27 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00171/0.325, allocations: 0.6047 MB / 1.355 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.3257, allocations: 355.1 kB / 1.355 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3257, allocations: 4 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.3257, allocations: 0 / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.942e-05/0.3258, allocations: 0 / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3262, allocations: 115.6 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.318e-05/0.3262, allocations: 4 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.3263, allocations: 7.984 kB / 1.355 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.3263, allocations: 8 kB / 1.355 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.3263, allocations: 7.938 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3264, allocations: 0 / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.3267, allocations: 275.7 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.3268, allocations: 7.969 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.3268, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.327, allocations: 99.67 kB / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.327, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.22e-07/0.327, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.327, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 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.0003526/0.3273, allocations: 271.7 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3274, allocations: 8.031 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3274, allocations: 4.938 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3275, allocations: 110.5 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3275, allocations: 384 / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3275, allocations: 4.375 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.758e-05/0.3276, allocations: 34.2 kB / 1.356 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3277, allocations: 192 / 1.356 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3277, allocations: 7.938 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3277, allocations: 4 kB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.3277, allocations: 7.984 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.3278, allocations: 120.8 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.3279, allocations: 22.56 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.3279, allocations: 4.859 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.3285, allocations: 83.91 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3285, allocations: 38.5 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3285, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004665/0.329, allocations: 181.4 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.329, allocations: 55.41 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.3291, allocations: 97.84 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3291, allocations: 25.7 kB / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.3291, allocations: 80.14 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3292, allocations: 19.84 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3292, allocations: 13.72 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3293, allocations: 323 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.3294, allocations: 8 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.3294, allocations: 13.72 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.3294, allocations: 33.64 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.3294, allocations: 0 / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.81e-05/0.3295, allocations: 49.7 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3296, allocations: 11.94 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3296, allocations: 0 / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3296, allocations: 0 / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.3296, allocations: 15.92 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3296, allocations: 0 / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.3297, allocations: 0 / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3297, allocations: 8 kB / 1.357 GB, free: 4.617 MB / 1.045 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.143e-05/0.3297, allocations: 113.7 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3298, allocations: 8 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3299, allocations: 57.36 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3299, allocations: 7.984 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3299, allocations: 0 / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3299, allocations: 0 / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.33, allocations: 128.7 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.33, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.3301, allocations: 4 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3301, allocations: 3.938 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3301, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3301, allocations: 4 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3301, allocations: 0 / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3302, allocations: 73.12 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.3302, allocations: 11.88 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3302, allocations: 7.969 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.3303, allocations: 0 / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.3303, allocations: 0 / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3303, allocations: 4.062 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.3303, allocations: 79.28 kB / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3303, allocations: 0 / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002169/0.3306, allocations: 35.86 kB / 1.358 GB, free: 4.008 MB / 1.045 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.0001998/0.3308, allocations: 123.1 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.3308, allocations: 12 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3308, allocations: 224 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.3309, allocations: 12 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.331, allocations: 3.984 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.3312, allocations: 151 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3315, allocations: 0.6768 MB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.3316, allocations: 7.438 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3316, allocations: 0 / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of Templates: time 0.002389/0.3339, allocations: 0.7702 MB / 1.359 GB, free: 2.195 MB / 1.045 GB " [Timeout remaining time 300] 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.937650436011609] Failed to read output from testmodel.py, exit status != 0: 0.34221465000882745 0.357647605 0.02718580999999994 Calling exit ...