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.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.001556/0.001556, allocations: 113 kB / 18.94 MB, free: 2.934 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.001907/0.001907, allocations: 210.5 kB / 22.25 MB, free: 5.082 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.507/3.507, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002258/0.002258, allocations: 65.83 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4507, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002751/0.4535, allocations: 0.6246 MB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.4544, allocations: 359.1 kB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.4545, allocations: 0 / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.4545, allocations: 3.938 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.414e-05/0.4545, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.4552, allocations: 127.5 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.4553, allocations: 15.98 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.4554, allocations: 7.984 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.4554, allocations: 15.94 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.4555, allocations: 11.92 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4555, allocations: 7.984 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.456, allocations: 279.7 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.456, allocations: 0 / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.4561, allocations: 15.92 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.4563, allocations: 103.9 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4563, allocations: 0 / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4563, allocations: 0 / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.4563, allocations: 0 / 1.354 GB, free: 6.879 MB / 1.045 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.0005574/0.4569, allocations: 298 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4569, allocations: 8.031 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.457, allocations: 38.75 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.4571, allocations: 4.891 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4572, allocations: 110.5 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4572, allocations: 384 / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4572, allocations: 4.375 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4574, allocations: 54.23 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4574, allocations: 3.938 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4574, allocations: 7.938 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4574, allocations: 0 / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.4575, allocations: 19.98 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.4577, allocations: 132.8 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.4579, allocations: 62.48 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.4579, allocations: 33.08 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005905/0.4585, allocations: 83.89 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.4585, allocations: 34.56 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4585, allocations: 0 / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.00147/0.46, allocations: 451.6 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4601, allocations: 51.41 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.4601, allocations: 101.9 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4602, allocations: 33.64 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4602, allocations: 84.14 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.4603, allocations: 43.64 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.4604, allocations: 25.7 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4605, allocations: 318.8 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.4606, allocations: 19.92 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.4606, allocations: 30.23 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4607, allocations: 56.86 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4607, allocations: 0 / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001765/0.4609, allocations: 91.62 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4609, allocations: 12 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4609, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.461, allocations: 3.984 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4611, allocations: 19.94 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4611, allocations: 7.938 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.4611, allocations: 4 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4611, allocations: 4 kB / 1.357 GB, free: 4.43 MB / 1.045 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.0001065/0.4612, allocations: 118.4 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4613, allocations: 11.89 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4615, allocations: 105.7 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4615, allocations: 4 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4615, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4615, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.462, allocations: 321.5 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.462, allocations: 0 / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4621, allocations: 23.92 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4621, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4621, allocations: 8 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4621, allocations: 4 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4621, allocations: 4 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.4624, allocations: 223.3 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4625, allocations: 11.97 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4625, allocations: 7.938 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.4626, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.4626, allocations: 7.984 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.4626, allocations: 8 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.4626, allocations: 83.52 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4626, allocations: 4 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002958/0.4629, allocations: 47.86 kB / 1.358 GB, free: 3.375 MB / 1.045 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.0008035/0.4637, allocations: 0.7869 MB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.4639, allocations: 56.08 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4639, allocations: 4 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.464, allocations: 39.86 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4642, allocations: 7.938 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4658, allocations: 1.396 MB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4662, allocations: 0.6885 MB / 1.36 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.4662, allocations: 15.88 kB / 1.36 GB, free: 256 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.4663, allocations: 23.42 kB / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.4663, allocations: 0 / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.5013, allocations: 2.626 MB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.49, allocations: 10.39 kB / 1.363 GB, free: 13.73 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.83029727288522] Failed to read output from testmodel.py, exit status != 0: 11.600130673963577 11.616554538 11.156735051 Calling exit ...