Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001886/0.001886, allocations: 104.6 kB / 16.45 MB, free: 6.504 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.002263/0.002263, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.436/1.436, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.268/3.268, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.002839/0.002839, allocations: 77.52 kB / 1.134 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4111, allocations: 173.9 MB / 1.304 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002517/0.4136, allocations: 0.6225 MB / 1.305 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.4145, allocations: 359 kB / 1.305 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.4145, allocations: 4 kB / 1.305 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.4146, allocations: 3.938 kB / 1.305 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.4146, allocations: 7.938 kB / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.4151, allocations: 111.7 kB / 1.305 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.4152, allocations: 27.97 kB / 1.305 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.4152, allocations: 3.938 kB / 1.305 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.4153, allocations: 11.94 kB / 1.305 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.4153, allocations: 11.98 kB / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.4153, allocations: 0 / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.4158, allocations: 287.6 kB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.4158, allocations: 3.984 kB / 1.305 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.4158, allocations: 15.92 kB / 1.305 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.416, allocations: 103.9 kB / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.416, allocations: 0 / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.416, allocations: 4 kB / 1.306 GB, free: 68 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.416, allocations: 0 / 1.306 GB, free: 68 kB / 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.0005569/0.4166, allocations: 363.1 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4166, allocations: 12.62 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.4167, allocations: 34.75 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.4167, allocations: 8.938 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4169, allocations: 160.4 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4169, allocations: 384 / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4169, allocations: 4.375 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4171, allocations: 61.92 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4171, allocations: 3.953 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4171, allocations: 0 / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4171, allocations: 0 / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.4171, allocations: 19.98 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.4174, allocations: 165.7 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4175, allocations: 54.56 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.4175, allocations: 28.84 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007789/0.4183, allocations: 469.3 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4184, allocations: 34.5 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4184, allocations: 0 / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001392/0.4198, allocations: 0.6034 MB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4198, allocations: 55.41 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.4199, allocations: 93.8 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.4199, allocations: 33.7 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.42, allocations: 84.12 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.42, allocations: 35.69 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.4201, allocations: 29.7 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4202, allocations: 322.8 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.4203, allocations: 19.98 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/0.4203, allocations: 23.98 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.4204, allocations: 56.67 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4204, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001758/0.4206, allocations: 105.6 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4206, allocations: 8 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4206, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4206, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4207, allocations: 20 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4207, allocations: 7.984 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.4208, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4208, allocations: 8.094 kB / 1.308 GB, free: 12.78 MB / 1.014 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.0001088/0.4209, allocations: 121.7 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.4209, allocations: 4 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.4211, allocations: 105.5 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4211, allocations: 0 / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4211, allocations: 3.984 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4211, allocations: 4 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.4216, allocations: 354.5 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4216, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4217, allocations: 16 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4217, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4217, allocations: 7.984 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4217, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4217, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.4221, allocations: 227.3 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.4222, allocations: 89.12 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.4222, allocations: 0 / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.4223, allocations: 8 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.4223, allocations: 7.984 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4223, allocations: 4 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.4224, allocations: 79.28 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003287/0.4227, allocations: 51.8 kB / 1.309 GB, free: 11.61 MB / 1.014 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.0009687/0.4237, allocations: 0.7944 MB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.4239, allocations: 52.53 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4239, allocations: 3.938 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.4239, allocations: 31.92 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4242, allocations: 8.219 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.426, allocations: 1.412 MB / 1.312 GB, free: 9.199 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.4264, allocations: 0.6885 MB / 1.312 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.4264, allocations: 4.328 kB / 1.312 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.4265, allocations: 23.42 kB / 1.312 GB, free: 8.461 MB / 1.014 GB Notification: Performance of SimCode: time 6.22e-07/0.4265, allocations: 0 / 1.312 GB, free: 8.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.4525, allocations: 2.506 MB / 1.315 GB, free: 6.105 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.646, allocations: 7.938 kB / 1.315 GB, free: 6.102 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.488487690221518] Failed to read output from testmodel.py, exit status != 0: 8.714581994805485 8.728392792 8.309282023 Calling exit ...