Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001642/0.001642, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.00182/0.00182, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002017/0.002017, allocations: 71.91 kB / 1.104 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.911/0.913, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001925/0.9149, allocations: 0.6302 MB / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.9157, allocations: 356.6 kB / 1.27 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.9157, allocations: 0 / 1.27 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.9157, allocations: 3.938 kB / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.9157, allocations: 0 / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.9162, allocations: 131.5 kB / 1.27 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.9163, allocations: 15.98 kB / 1.27 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.9163, allocations: 7.984 kB / 1.27 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.9164, allocations: 11.94 kB / 1.27 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.9164, allocations: 19.91 kB / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.9164, allocations: 0 / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.9168, allocations: 271.7 kB / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.9168, allocations: 7.984 kB / 1.27 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.9169, allocations: 11.94 kB / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.917, allocations: 105.5 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.9171, allocations: 0 / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9171, allocations: 4 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.9171, allocations: 0 / 1.27 GB, free: 3.598 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004821/0.9175, allocations: 363.2 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9176, allocations: 8.031 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.9176, allocations: 30.75 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.9177, allocations: 12.88 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.9178, allocations: 168.3 kB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.9178, allocations: 12.31 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.9178, allocations: 4.375 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.918, allocations: 46.25 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.918, allocations: 7.938 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.918, allocations: 4 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.918, allocations: 0 / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.9181, allocations: 19.98 kB / 1.271 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.9183, allocations: 169.6 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.9184, allocations: 58.5 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.9184, allocations: 32.84 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007542/0.9192, allocations: 449.5 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.9192, allocations: 42.56 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9192, allocations: 0 / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001406/0.9206, allocations: 0.5957 MB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.9207, allocations: 55.39 kB / 1.272 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.9208, allocations: 101.9 kB / 1.272 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.9208, allocations: 25.7 kB / 1.272 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.9208, allocations: 84.08 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.9209, allocations: 47.64 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.9209, allocations: 25.72 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9211, allocations: 314.8 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.9211, allocations: 23.98 kB / 1.273 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.9212, allocations: 16 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.9213, allocations: 68.09 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.9213, allocations: 4 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000164/0.9215, allocations: 93.58 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.9215, allocations: 4.094 kB / 1.273 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9215, allocations: 3.938 kB / 1.273 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.9215, allocations: 4 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.9216, allocations: 27.92 kB / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.9216, allocations: 0 / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.9216, allocations: 0 / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.9216, allocations: 4 kB / 1.273 GB, free: 316 kB / 0.9669 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.067e-05/0.9217, allocations: 118.4 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.9218, allocations: 7.938 kB / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.922, allocations: 109.5 kB / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.922, allocations: 0 / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.922, allocations: 4 kB / 1.273 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.922, allocations: 0 / 1.273 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.9225, allocations: 350.5 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9225, allocations: 0 / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.9226, allocations: 31.92 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9226, allocations: 4 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.9226, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9226, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9226, allocations: 4 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.9229, allocations: 215.4 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.923, allocations: 89.08 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.923, allocations: 4 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.9231, allocations: 8.062 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.9231, allocations: 11.92 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.9231, allocations: 7.938 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.9231, allocations: 79.28 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9231, allocations: 0 / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002772/0.9234, allocations: 39.94 kB / 1.274 GB, free: 15.13 MB / 0.9825 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.0007364/0.9241, allocations: 0.7986 MB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.9243, allocations: 59.84 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.9243, allocations: 11.94 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.9243, allocations: 23.94 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.9246, allocations: 11.98 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.926, allocations: 1.396 MB / 1.276 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.9263, allocations: 0.6846 MB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.829e-05/0.9264, allocations: 16.05 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.9264, allocations: 15.44 kB / 1.277 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.9264, allocations: 0 / 1.277 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.9536, allocations: 2.51 MB / 1.28 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.429, allocations: 13 kB / 1.28 GB, free: 9.625 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.44460413698107] Failed to read output from testmodel.py, exit status != 0: 9.499823574908078 9.522687334 8.601272506 Calling exit ...