Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001365/0.001365, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001344/0.001344, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 282.5 kB / 303 MB, free: 3.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 180.9 MB / 0.5261 GB, free: 2.75 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 99.84 kB / 0.7248 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.5872, allocations: 94.15 MB / 0.8168 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001839/0.589, allocations: 0.5943 MB / 0.8173 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006543/0.5897, allocations: 354.7 kB / 0.8177 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.5897, allocations: 0 / 0.8177 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.5897, allocations: 0 / 0.8177 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.896e-05/0.5897, allocations: 4.938 kB / 0.8177 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.5902, allocations: 118.2 kB / 0.8178 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.5903, allocations: 12.88 kB / 0.8178 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.5903, allocations: 5.25 kB / 0.8178 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.5903, allocations: 9.922 kB / 0.8178 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.5904, allocations: 2.062 kB / 0.8178 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.5904, allocations: 1.062 kB / 0.8178 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.5908, allocations: 278 kB / 0.8181 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.5908, allocations: 1.031 kB / 0.8181 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.5908, allocations: 6.094 kB / 0.8181 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.591, allocations: 92.16 kB / 0.8182 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.591, allocations: 0 / 0.8182 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.591, allocations: 1.562 kB / 0.8182 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.591, allocations: 0 / 0.8182 GB, free: 6.402 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003031/0.5913, allocations: 356.4 kB / 0.8185 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5913, allocations: 9.594 kB / 0.8185 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.5914, allocations: 35.59 kB / 0.8186 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.5914, allocations: 1.906 kB / 0.8186 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.47e-05/0.5915, allocations: 162.2 kB / 0.8187 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5915, allocations: 384 / 0.8187 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.5915, allocations: 2.094 kB / 0.8187 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.5916, allocations: 37.81 kB / 0.8188 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5916, allocations: 3.938 kB / 0.8188 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5916, allocations: 4.969 kB / 0.8188 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5916, allocations: 0 / 0.8188 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.05e-05/0.5916, allocations: 6.594 kB / 0.8188 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.5918, allocations: 147.8 kB / 0.8189 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.536e-05/0.5918, allocations: 26.2 kB / 0.8189 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.5918, allocations: 6.609 kB / 0.819 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.5925, allocations: 462.7 kB / 0.8194 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5925, allocations: 31.66 kB / 0.8194 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5925, allocations: 1.125 kB / 0.8194 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004722/0.593, allocations: 258 kB / 0.8197 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.593, allocations: 52.38 kB / 0.8197 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.593, allocations: 93.42 kB / 0.8198 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.593, allocations: 30.42 kB / 0.8198 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.5931, allocations: 81.84 kB / 0.8199 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.5931, allocations: 9.844 kB / 0.8199 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.5931, allocations: 23.7 kB / 0.82 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.5932, allocations: 312.8 kB / 0.8202 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.5932, allocations: 5.531 kB / 0.8203 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.5932, allocations: 19.58 kB / 0.8203 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.5933, allocations: 30.75 kB / 0.8203 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5933, allocations: 0.75 kB / 0.8203 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.536e-05/0.5934, allocations: 59.08 kB / 0.8204 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5934, allocations: 9.375 kB / 0.8204 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5934, allocations: 0.9375 kB / 0.8204 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5934, allocations: 1.062 kB / 0.8204 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.5935, allocations: 13.16 kB / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.5935, allocations: 1.062 kB / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.5935, allocations: 0.9062 kB / 0.8204 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.5935, allocations: 5.625 kB / 0.8204 GB, free: 4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5e-05/0.5935, allocations: 112.4 kB / 0.8205 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5936, allocations: 4.844 kB / 0.8205 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.5937, allocations: 52.12 kB / 0.8206 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5937, allocations: 1.188 kB / 0.8206 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5937, allocations: 192 / 0.8206 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5937, allocations: 5.344 kB / 0.8206 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.797e-05/0.5938, allocations: 156.4 kB / 0.8207 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5938, allocations: 4.938 kB / 0.8207 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.5938, allocations: 8.906 kB / 0.8207 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5938, allocations: 7.859 kB / 0.8207 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.5938, allocations: 1.062 kB / 0.8207 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5938, allocations: 0 / 0.8207 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5938, allocations: 0.7812 kB / 0.8207 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.594, allocations: 73.36 kB / 0.8208 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.594, allocations: 85.62 kB / 0.8209 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.594, allocations: 1.156 kB / 0.8209 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.594, allocations: 9.25 kB / 0.8209 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.594, allocations: 1 kB / 0.8209 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.594, allocations: 0.9375 kB / 0.8209 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.5941, allocations: 77.62 kB / 0.821 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5941, allocations: 3.938 kB / 0.821 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002323/0.5943, allocations: 26.95 kB / 0.821 GB, free: 3.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003563/0.5946, allocations: 0.6472 MB / 0.8216 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.5947, allocations: 18.16 kB / 0.8216 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5947, allocations: 1.406 kB / 0.8216 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.5948, allocations: 11.48 kB / 0.8217 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.5949, allocations: 9.297 kB / 0.8217 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5959, allocations: 1.124 MB / 0.8228 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5963, allocations: 0.6851 MB / 0.8234 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.5963, allocations: 2.625 kB / 0.8234 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.5963, allocations: 14.91 kB / 0.8235 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5963, allocations: 0 / 0.8235 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.6224, allocations: 1.772 MB / 0.8252 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.535, allocations: 4.969 kB / 0.8252 GB, free: 16.56 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.45323930773884] Failed to read output from testmodel.py, exit status != 0: 8.602718438021839 8.616707257 8.022512049 Calling exit ...