Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.0024/0.0024, allocations: 210.4 kB / 19.43 MB, free: 3.633 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.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",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.002739/0.002739, allocations: 75.23 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4317, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00258/0.4343, allocations: 0.6288 MB / 1.321 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.4352, allocations: 359.1 kB / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.4352, allocations: 0 / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.4352, allocations: 0 / 1.322 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.4353, allocations: 3.938 kB / 1.322 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.4359, allocations: 115.7 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.436, allocations: 23.91 kB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.4361, allocations: 4 kB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.4361, allocations: 11.98 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.4362, allocations: 15.92 kB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.4362, allocations: 0 / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.4367, allocations: 283.6 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.4367, allocations: 3.938 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.4367, allocations: 19.86 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.437, allocations: 99.94 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.437, allocations: 0 / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.437, allocations: 4 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.437, allocations: 0 / 1.322 GB, free: 1.73 MB / 1.014 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.0005546/0.4376, allocations: 367.1 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4376, allocations: 11.98 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.4377, allocations: 34.73 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.4377, allocations: 4.938 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4379, allocations: 164.3 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4379, allocations: 8.375 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.4379, allocations: 4.375 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4381, allocations: 54.23 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4381, allocations: 7.922 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4381, allocations: 4 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4381, allocations: 0 / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.4382, allocations: 23.92 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.4385, allocations: 161.7 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4386, allocations: 50.56 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.4387, allocations: 32.84 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009053/0.4396, allocations: 453.5 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4396, allocations: 42.55 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4396, allocations: 0 / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001599/0.4412, allocations: 0.6033 MB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4413, allocations: 51.41 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.4413, allocations: 105.8 kB / 1.324 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.4414, allocations: 25.7 kB / 1.324 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.4414, allocations: 88.08 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.4415, allocations: 39.69 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.4415, allocations: 29.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.4417, allocations: 310.8 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.4417, allocations: 23.98 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.4418, allocations: 16 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.4419, allocations: 64.78 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4419, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001885/0.4421, allocations: 108.4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4421, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4421, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4421, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4422, allocations: 19.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4423, allocations: 4.078 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.4423, allocations: 3.938 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4423, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 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.0001153/0.4424, allocations: 121.8 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.4424, allocations: 19.88 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4427, allocations: 93.64 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4427, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4427, allocations: 4 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4427, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.4432, allocations: 358.4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4432, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4433, allocations: 23.98 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4433, allocations: 4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4434, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4434, allocations: 0 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4434, allocations: 4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.4437, allocations: 223.3 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.4438, allocations: 93.08 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4438, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.4439, allocations: 4.062 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.4439, allocations: 11.98 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4439, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.444, allocations: 79.28 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.444, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003452/0.4443, allocations: 47.86 kB / 1.326 GB, free: 13.25 MB / 1.029 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.0009491/0.4453, allocations: 0.7947 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4455, allocations: 55.97 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4455, allocations: 4 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.4455, allocations: 31.97 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4458, allocations: 8 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4476, allocations: 1.401 MB / 1.328 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4481, allocations: 0.6894 MB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.4481, allocations: 12.06 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.4482, allocations: 15.44 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of SimCode: time 1.363e-06/0.4482, allocations: 0 / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4819, allocations: 2.513 MB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.575, allocations: 0 / 1.332 GB, free: 7.75 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.687796200159937] Failed to read output from testmodel.py, exit status != 0: 8.64681028900668 8.667812461 8.226881271 Calling exit ...