Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001644/0.001644, allocations: 109 kB / 16.45 MB, free: 6.508 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.001816/0.001816, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.663/2.663, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 75.88 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7298, allocations: 160.7 MB / 1.213 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00174/0.7315, allocations: 0.6334 MB / 1.214 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006927/0.7322, allocations: 357.2 kB / 1.214 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.7322, allocations: 0.9062 kB / 1.214 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.7322, allocations: 0 / 1.214 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.622e-05/0.7323, allocations: 3.938 kB / 1.214 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.7327, allocations: 120.7 kB / 1.214 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.7328, allocations: 22.84 kB / 1.214 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.7328, allocations: 2.188 kB / 1.214 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.7329, allocations: 12.59 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.7329, allocations: 15.67 kB / 1.214 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.7329, allocations: 6.094 kB / 1.214 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.7333, allocations: 279.4 kB / 1.214 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.7333, allocations: 6.219 kB / 1.214 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.7334, allocations: 15.17 kB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.7336, allocations: 105.8 kB / 1.214 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7336, allocations: 0 / 1.214 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7336, allocations: 0 / 1.214 GB, free: 2.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7336, allocations: 1.094 kB / 1.214 GB, free: 2.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004468/0.734, allocations: 364.8 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.734, allocations: 10.19 kB / 1.215 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.7341, allocations: 31.91 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.7341, allocations: 8.234 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.7343, allocations: 173.3 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.7343, allocations: 6.781 kB / 1.215 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.7343, allocations: 2.562 kB / 1.215 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.7344, allocations: 53.05 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7344, allocations: 8.969 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.7345, allocations: 1.062 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7345, allocations: 5.141 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.7345, allocations: 18.64 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.7347, allocations: 165.3 kB / 1.215 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.7348, allocations: 50.5 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.7348, allocations: 28.47 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.7356, allocations: 465 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.7356, allocations: 35.72 kB / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7356, allocations: 0 / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001318/0.7369, allocations: 0.5994 MB / 1.216 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.737, allocations: 52.59 kB / 1.216 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.7371, allocations: 97.61 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.7371, allocations: 26.83 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.7371, allocations: 89.22 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.7372, allocations: 36.06 kB / 1.217 GB, free: 388 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.7372, allocations: 30.23 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7374, allocations: 316.8 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.7374, allocations: 23.11 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.7374, allocations: 21.83 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.7376, allocations: 56.72 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.7376, allocations: 0 / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.7377, allocations: 107.3 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7377, allocations: 8.188 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7378, allocations: 3.938 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7378, allocations: 1.5 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7379, allocations: 17.44 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7379, allocations: 5.125 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.7379, allocations: 1.219 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.7379, allocations: 6.172 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 9.175e-05/0.738, allocations: 118.6 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.738, allocations: 10.23 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.7383, allocations: 103.8 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7383, allocations: 1.469 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7383, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7383, allocations: 4.828 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.7387, allocations: 369.5 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7387, allocations: 0 / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7388, allocations: 17.12 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7388, allocations: 1.062 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7388, allocations: 1.125 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.7388, allocations: 5.078 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7388, allocations: 0 / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.7391, allocations: 222 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.7392, allocations: 92.64 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7392, allocations: 1 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.7393, allocations: 2.156 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.7393, allocations: 15.84 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7393, allocations: 6.5 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.7393, allocations: 78.03 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7393, allocations: 0 / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003031/0.7396, allocations: 45.08 kB / 1.218 GB, free: 14.94 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007238/0.7404, allocations: 0.7983 MB / 1.219 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.7405, allocations: 55.98 kB / 1.219 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7405, allocations: 5.469 kB / 1.219 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.7406, allocations: 30.17 kB / 1.219 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.7408, allocations: 7.406 kB / 1.219 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.7423, allocations: 1.396 MB / 1.221 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.7426, allocations: 0.6885 MB / 1.221 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.7426, allocations: 5.688 kB / 1.221 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.7427, allocations: 20.2 kB / 1.221 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.7427, allocations: 1.125 kB / 1.221 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.769, allocations: 2.498 MB / 1.224 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.18, allocations: 24.19 kB / 1.224 GB, free: 10.87 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.996154429856688] Failed to read output from testmodel.py, exit status != 0: 9.28135109692812 9.309702448 8.570926867 Calling exit ...