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.001671/0.001671, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002035/0.002035, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.801 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.291/3.291, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002103/0.002103, allocations: 67.58 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4256, allocations: 176.1 MB / 1.325 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001906/0.4275, allocations: 0.6176 MB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.4283, allocations: 327.2 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.4283, allocations: 0 / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.4283, allocations: 3.938 kB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.4284, allocations: 0 / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.4289, allocations: 115.6 kB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.4289, allocations: 19.98 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.429, allocations: 0 / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.429, allocations: 23.91 kB / 1.326 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.12e-05/0.4291, allocations: 15.92 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4291, allocations: 0 / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.4295, allocations: 259.7 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.4296, allocations: 8 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.4296, allocations: 15.91 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.4298, allocations: 103.9 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4298, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4298, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4298, allocations: 0 / 1.327 GB, free: 0.8281 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.000513/0.4303, allocations: 286 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4304, allocations: 8.031 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.4304, allocations: 38.75 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.4305, allocations: 4.938 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4306, allocations: 114.4 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.4307, allocations: 384 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.4307, allocations: 8.375 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4309, allocations: 105.6 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4309, allocations: 7.875 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.4309, allocations: 4 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4309, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.431, allocations: 15.98 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.4312, allocations: 132.8 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4313, allocations: 62.48 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.4314, allocations: 24.86 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.4319, allocations: 79.91 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4319, allocations: 34.56 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4319, allocations: 0 / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001303/0.4332, allocations: 463.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4333, allocations: 51.41 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.4333, allocations: 101.8 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4334, allocations: 29.7 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.4334, allocations: 80.14 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.4335, allocations: 39.7 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.4335, allocations: 29.7 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4336, allocations: 310.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.4337, allocations: 27.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.4337, allocations: 23.98 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.4338, allocations: 55.61 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4338, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/0.434, allocations: 105.6 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.434, allocations: 4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.434, allocations: 4.094 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.434, allocations: 7.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.4341, allocations: 23.92 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4341, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.4342, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4342, allocations: 0 / 1.329 GB, free: 14.33 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 9.204e-05/0.4343, allocations: 117.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4343, allocations: 11.89 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4345, allocations: 109.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4345, allocations: 7.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4345, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4345, allocations: 4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.435, allocations: 325.5 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.435, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4351, allocations: 19.94 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4351, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4351, allocations: 4 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4351, allocations: 3.984 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4351, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.4354, allocations: 215.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.4355, allocations: 15.97 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.4355, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.4356, allocations: 8.062 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.4356, allocations: 7.984 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4356, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.4356, allocations: 83.22 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4356, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002836/0.4359, allocations: 51.8 kB / 1.33 GB, free: 13.27 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.0007424/0.4367, allocations: 0.7866 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.4368, allocations: 59.86 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4368, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.4369, allocations: 39.92 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4371, allocations: 9.5 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.4386, allocations: 1.406 MB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.4387, allocations: 71.25 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.4387, allocations: 11.92 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.4388, allocations: 23.5 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.4388, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.4723, allocations: 2.98 MB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.57, allocations: 11.75 kB / 1.335 GB, free: 7.906 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.685983647126704] Failed to read output from testmodel.py, exit status != 0: 11.67522118985653 11.701581103 11.267147615 Calling exit ...