Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 170.4 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007167/0.0007169, allocations: 90.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002909, allocations: 13 kB / 0.7933 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1739, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006554/0.1746, allocations: 370.9 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.1752, allocations: 379.6 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.1752, allocations: 0 / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.1753, allocations: 7.938 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.489e-05/0.1753, allocations: 0 / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1756, allocations: 79.83 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.316e-05/0.1757, allocations: 23.98 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.1757, allocations: 288 / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.1758, allocations: 7.938 kB / 0.8971 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.1758, allocations: 15.92 kB / 0.8971 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1758, allocations: 4 kB / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.1761, allocations: 275.6 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.1761, allocations: 11.97 kB / 0.8973 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1762, allocations: 11.94 kB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1763, allocations: 99.77 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1763, allocations: 0 / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1763, allocations: 4 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1763, allocations: 0 / 0.8975 GB, free: 66.81 MB / 0.6042 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.0002953/0.1766, allocations: 347.5 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1767, allocations: 12.03 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.1767, allocations: 38.75 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1768, allocations: 8.844 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.1768, allocations: 164.4 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1768, allocations: 384 / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1769, allocations: 4.375 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.177, allocations: 50.25 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.177, allocations: 7.875 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.177, allocations: 3.938 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.177, allocations: 4 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.1771, allocations: 15.98 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1772, allocations: 169.6 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.1773, allocations: 62.55 kB / 0.8983 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.1773, allocations: 28.86 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005411/0.1779, allocations: 461.5 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1779, allocations: 42.44 kB / 0.8988 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1779, allocations: 0 / 0.8988 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00104/0.1789, allocations: 0.5995 MB / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.179, allocations: 51.41 kB / 0.8994 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.179, allocations: 93.86 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.179, allocations: 29.7 kB / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.1791, allocations: 84.12 kB / 0.8996 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1791, allocations: 39.45 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.1791, allocations: 21.7 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.1792, allocations: 318.8 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.1792, allocations: 19.98 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.1793, allocations: 24.08 kB / 0.9 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.1793, allocations: 62.42 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1794, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001203/0.1795, allocations: 101.5 kB / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1795, allocations: 7.984 kB / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1795, allocations: 0 / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1795, allocations: 4 kB / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.1796, allocations: 20 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1796, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.1797, allocations: 4 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1797, allocations: 4 kB / 0.9002 GB, free: 63.54 MB / 0.6042 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 5.777e-05/0.1797, allocations: 121.8 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1798, allocations: 3.938 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.1799, allocations: 109.5 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.18, allocations: 0 / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.18, allocations: 4 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.18, allocations: 3.984 kB / 0.9005 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.1803, allocations: 354.4 kB / 0.9008 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1803, allocations: 0 / 0.9008 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.1804, allocations: 16 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1804, allocations: 4 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1804, allocations: 4 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1804, allocations: 0 / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1804, allocations: 3.984 kB / 0.9008 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1806, allocations: 223.3 kB / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1807, allocations: 89.03 kB / 0.9011 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1807, allocations: 0 / 0.9011 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1808, allocations: 12 kB / 0.9011 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1808, allocations: 7.922 kB / 0.9012 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1808, allocations: 4 kB / 0.9012 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.939e-05/0.1808, allocations: 83.28 kB / 0.9012 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1808, allocations: 4.062 kB / 0.9012 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002509/0.1811, allocations: 47.98 kB / 0.9013 GB, free: 62.36 MB / 0.6042 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.0004424/0.1815, allocations: 0.7826 MB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1817, allocations: 70.78 kB / 0.9021 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1817, allocations: 0 / 0.9021 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1818, allocations: 36.53 kB / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.182, allocations: 8 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.1828, allocations: 1.405 MB / 0.9035 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.183, allocations: 0.6848 MB / 0.9042 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.183, allocations: 15.98 kB / 0.9042 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1831, allocations: 15.44 kB / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1831, allocations: 0 / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.1937, allocations: 2.252 MB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.1939, allocations: 263.2 kB / 0.9067 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.75, allocations: 0 / 0.9067 GB, free: 56.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)