Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00182/0.00182, allocations: 105.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.002146/0.002146, 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.429/1.429, 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/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.002584/0.002584, allocations: 279.1 kB / 303 MB, free: 9.496 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.273/1.273, allocations: 180.9 MB / 0.5261 GB, free: 14.56 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 102.3 kB / 0.7248 GB, free: 39.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1671, allocations: 94.16 MB / 0.8168 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001916/0.169, allocations: 0.621 MB / 0.8174 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.1697, allocations: 354.9 kB / 0.8177 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1698, allocations: 0 / 0.8177 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1698, allocations: 4 kB / 0.8177 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.1698, allocations: 3.938 kB / 0.8177 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.1703, allocations: 119.7 kB / 0.8178 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.1703, allocations: 19.98 kB / 0.8179 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.1704, allocations: 7.938 kB / 0.8179 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.1704, allocations: 19.92 kB / 0.8179 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.1705, allocations: 3.984 kB / 0.8179 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1705, allocations: 7.938 kB / 0.8179 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.1709, allocations: 275.6 kB / 0.8182 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.1709, allocations: 4 kB / 0.8182 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.171, allocations: 15.91 kB / 0.8182 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1712, allocations: 103.9 kB / 0.8183 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1712, allocations: 4 kB / 0.8183 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1712, allocations: 0 / 0.8183 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.1712, allocations: 4 kB / 0.8183 GB, free: 3.754 MB / 0.5606 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.0004872/0.1717, allocations: 357.6 kB / 0.8186 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1717, allocations: 12.03 kB / 0.8186 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1717, allocations: 34.75 kB / 0.8187 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.1718, allocations: 4.938 kB / 0.8187 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1719, allocations: 168.3 kB / 0.8188 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.172, allocations: 384 / 0.8188 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.172, allocations: 12.38 kB / 0.8189 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1721, allocations: 62.14 kB / 0.8189 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1721, allocations: 3.938 kB / 0.8189 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1722, allocations: 0 / 0.8189 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1722, allocations: 3.938 kB / 0.8189 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.1722, allocations: 19.98 kB / 0.8189 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.1724, allocations: 161.7 kB / 0.8191 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1726, allocations: 58.56 kB / 0.8191 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.1726, allocations: 32.78 kB / 0.8192 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.1734, allocations: 461.4 kB / 0.8196 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1734, allocations: 34.56 kB / 0.8197 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1734, allocations: 0 / 0.8197 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001398/0.1748, allocations: 0.5919 MB / 0.8202 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1749, allocations: 55.34 kB / 0.8203 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.175, allocations: 105.8 kB / 0.8204 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.175, allocations: 29.8 kB / 0.8204 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.175, allocations: 84.08 kB / 0.8205 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1751, allocations: 39.66 kB / 0.8205 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1751, allocations: 25.7 kB / 0.8206 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1753, allocations: 318.8 kB / 0.8209 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.1753, allocations: 19.98 kB / 0.8209 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.1753, allocations: 26.11 kB / 0.8209 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.1754, allocations: 64.8 kB / 0.821 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1754, allocations: 0 / 0.821 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.1756, allocations: 96.98 kB / 0.8211 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1756, allocations: 8 kB / 0.8211 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1756, allocations: 0 / 0.8211 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1756, allocations: 0 / 0.8211 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1757, allocations: 23.98 kB / 0.8211 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1758, allocations: 4 kB / 0.8211 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.1758, allocations: 4 kB / 0.8211 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1758, allocations: 4 kB / 0.8211 GB, free: 480 kB / 0.5606 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 8.45e-05/0.1759, allocations: 117.8 kB / 0.8212 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1759, allocations: 11.89 kB / 0.8212 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.1761, allocations: 105.6 kB / 0.8213 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1761, allocations: 3.984 kB / 0.8213 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1761, allocations: 0 / 0.8213 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1761, allocations: 0 / 0.8213 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1765, allocations: 354.5 kB / 0.8217 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1765, allocations: 0 / 0.8217 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1766, allocations: 20 kB / 0.8217 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1767, allocations: 3.984 kB / 0.8217 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1767, allocations: 8 kB / 0.8217 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1767, allocations: 0 / 0.8217 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1767, allocations: 3.938 kB / 0.8217 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.177, allocations: 223.6 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.177, allocations: 85.05 kB / 0.822 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.177, allocations: 4.031 kB / 0.822 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.1771, allocations: 12 kB / 0.822 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1771, allocations: 7.984 kB / 0.822 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1771, allocations: 4 kB / 0.822 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.1772, allocations: 79.28 kB / 0.8221 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1772, allocations: 4 kB / 0.8221 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002759/0.1775, allocations: 47.86 kB / 0.8221 GB, free: 15.29 MB / 0.5762 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.0007288/0.1782, allocations: 0.7904 MB / 0.8229 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1784, allocations: 51.98 kB / 0.823 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1784, allocations: 7.875 kB / 0.823 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.1784, allocations: 31.98 kB / 0.823 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1786, allocations: 8 kB / 0.823 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1801, allocations: 1.404 MB / 0.8244 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1804, allocations: 0.6846 MB / 0.8251 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1805, allocations: 8.062 kB / 0.8251 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.1805, allocations: 23.42 kB / 0.8251 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.1805, allocations: 0 / 0.8251 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.2084, allocations: 2.523 MB / 0.8275 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.139, allocations: 7.031 kB / 0.8276 GB, free: 9.805 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.39154146425426] Failed to read output from testmodel.py, exit status != 0: 8.207545578945428 8.223309191 8.049092669 Calling exit ...