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.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.001804/0.001804, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002158/0.002158, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [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.002022/0.002022, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9188/0.9208, allocations: 169.9 MB / 1.279 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001994/0.9228, allocations: 0.6282 MB / 1.28 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.9237, allocations: 358.9 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.9237, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.9237, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.9237, allocations: 9.031 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.9243, allocations: 122.8 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.9244, allocations: 27.41 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.9244, allocations: 1.875 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.9245, allocations: 14.91 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.9246, allocations: 14.7 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.9246, allocations: 2.219 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.9251, allocations: 278.6 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.9251, allocations: 7.328 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.9251, allocations: 12.75 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.9254, allocations: 106.2 kB / 1.281 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9254, allocations: 1.344 kB / 1.281 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9254, allocations: 0 / 1.281 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9254, allocations: 0 / 1.281 GB, free: 11.12 MB / 0.9981 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.0005406/0.9259, allocations: 361.3 kB / 1.281 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.9259, allocations: 9.5 kB / 1.281 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.926, allocations: 9.188 kB / 1.281 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.926, allocations: 36.39 kB / 1.281 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.9261, allocations: 4.312 kB / 1.281 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.9262, allocations: 163.3 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.9262, allocations: 2.531 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.9262, allocations: 14.59 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.9264, allocations: 59.14 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.9264, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.9264, allocations: 1.938 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9264, allocations: 1.031 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.9265, allocations: 22.52 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.9267, allocations: 167.3 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.9268, allocations: 62.28 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.9269, allocations: 28.25 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008382/0.9277, allocations: 459 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.9277, allocations: 40.39 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9277, allocations: 1.031 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001534/0.9293, allocations: 0.5898 MB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9293, allocations: 53.88 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.9294, allocations: 99.02 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.9294, allocations: 26.77 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.9295, allocations: 81.3 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.9295, allocations: 39.75 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.9296, allocations: 28.39 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9298, allocations: 318.3 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.9298, allocations: 19.12 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.9299, allocations: 23.58 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.93, allocations: 63.03 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.93, allocations: 0.5625 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002092/0.9302, allocations: 96.38 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9302, allocations: 5.094 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9302, allocations: 1.062 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.9303, allocations: 5.344 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.9304, allocations: 20.64 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.9304, allocations: 4.594 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.9304, allocations: 9.094 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.9304, allocations: 2.75 kB / 1.283 GB, free: 8.363 MB / 0.9981 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 0.0001241/0.9305, allocations: 117.8 kB / 1.283 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.9306, allocations: 7.422 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.9308, allocations: 102 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9308, allocations: 5.812 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9308, allocations: 0 / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9308, allocations: 2.406 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.9313, allocations: 356.8 kB / 1.284 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9313, allocations: 3.938 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.9314, allocations: 20.22 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.9314, allocations: 4.5 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9314, allocations: 9.5 kB / 1.284 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9314, allocations: 2.188 kB / 1.284 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9315, allocations: 3.938 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.9318, allocations: 224.2 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.9318, allocations: 83.42 kB / 1.284 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.9319, allocations: 6 kB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.932, allocations: 2.109 kB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.932, allocations: 6.328 kB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.932, allocations: 3.266 kB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.932, allocations: 83.25 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.932, allocations: 4.062 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003173/0.9324, allocations: 47.52 kB / 1.284 GB, free: 7.453 MB / 0.9981 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.0008276/0.9332, allocations: 0.7904 MB / 1.285 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.9334, allocations: 58.02 kB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9334, allocations: 1.25 kB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.9334, allocations: 38.52 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.9336, allocations: 11.17 kB / 1.285 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.9352, allocations: 1.406 MB / 1.287 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9356, allocations: 0.6868 MB / 1.287 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.219e-05/0.9357, allocations: 11.88 kB / 1.287 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.9357, allocations: 25.92 kB / 1.287 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.9357, allocations: 0 / 1.287 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.9574, allocations: 2.546 MB / 1.29 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/9.54, allocations: 13.05 kB / 1.29 GB, free: 4.305 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.023381649982184] Failed to read output from testmodel.py, exit status != 0: 9.667921574960928 9.68521574 8.756491988 Calling exit ...