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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 196.2 kB / 16.53 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 274.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 105.9 kB / 0.6066 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1571, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001847/0.159, allocations: 0.5859 MB / 0.6942 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006571/0.1597, allocations: 350.7 kB / 0.6945 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.1597, allocations: 0 / 0.6945 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1597, allocations: 3.938 kB / 0.6945 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.367e-05/0.1598, allocations: 0 / 0.6945 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1602, allocations: 117.8 kB / 0.6946 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.1602, allocations: 7.938 kB / 0.6946 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.1603, allocations: 11.97 kB / 0.6947 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.1603, allocations: 8 kB / 0.6947 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.1604, allocations: 3.938 kB / 0.6947 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1604, allocations: 0 / 0.6947 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1608, allocations: 279.6 kB / 0.6949 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1608, allocations: 7.984 kB / 0.6949 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.1608, allocations: 0 / 0.6949 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.161, allocations: 87.8 kB / 0.695 GB, free: 2.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.161, allocations: 0 / 0.695 GB, free: 2.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.161, allocations: 0 / 0.695 GB, free: 2.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.161, allocations: 4 kB / 0.695 GB, free: 2.77 MB / 494.1 MB 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.0003851/0.1614, allocations: 347.8 kB / 0.6954 GB, free: 2.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1615, allocations: 12.03 kB / 0.6954 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.1615, allocations: 30.75 kB / 0.6954 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1615, allocations: 4.844 kB / 0.6954 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1617, allocations: 168.4 kB / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1617, allocations: 384 / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1617, allocations: 384 / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.1618, allocations: 34.25 kB / 0.6956 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1618, allocations: 7.875 kB / 0.6956 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1618, allocations: 4 kB / 0.6956 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1619, allocations: 4 kB / 0.6956 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.1619, allocations: 0 / 0.6956 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1621, allocations: 157.6 kB / 0.6958 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.1621, allocations: 24.62 kB / 0.6958 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.1621, allocations: 8.922 kB / 0.6958 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.1629, allocations: 457.5 kB / 0.6962 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.163, allocations: 34.56 kB / 0.6963 GB, free: 1.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.163, allocations: 0 / 0.6963 GB, free: 1.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005391/0.1635, allocations: 266.2 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1636, allocations: 51.41 kB / 0.6966 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.1636, allocations: 93.86 kB / 0.6967 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1637, allocations: 33.64 kB / 0.6967 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1637, allocations: 84.12 kB / 0.6968 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1638, allocations: 7.906 kB / 0.6968 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1638, allocations: 18.06 kB / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1639, allocations: 314.8 kB / 0.6971 GB, free: 296 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.164, allocations: 7.984 kB / 0.6971 GB, free: 288 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.164, allocations: 21.72 kB / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.164, allocations: 21.72 kB / 0.6971 GB, free: 232 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1641, allocations: 0 / 0.6971 GB, free: 232 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.852e-05/0.1642, allocations: 57.62 kB / 0.6972 GB, free: 168 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1642, allocations: 11.94 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1642, allocations: 0 / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1642, allocations: 0 / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.1643, allocations: 4 kB / 0.6972 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1643, allocations: 4 kB / 0.6972 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1643, allocations: 3.938 kB / 0.6972 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.1643, allocations: 0 / 0.6972 GB, free: 144 kB / 494.1 MB 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 8.138e-05/0.1644, allocations: 117.8 kB / 0.6973 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1644, allocations: 8 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1646, allocations: 53.17 kB / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1646, allocations: 0 / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1646, allocations: 0 / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1646, allocations: 4 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1648, allocations: 153.7 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1648, allocations: 0 / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.1648, allocations: 7.984 kB / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1648, allocations: 8.125 kB / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1648, allocations: 0 / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1649, allocations: 7.875 kB / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1649, allocations: 0 / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.165, allocations: 85.11 kB / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1651, allocations: 81.05 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1651, allocations: 0 / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.1651, allocations: 3.984 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.1652, allocations: 8.094 kB / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.1652, allocations: 4 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.1652, allocations: 83.22 kB / 0.6978 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1652, allocations: 0 / 0.6978 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002191/0.1654, allocations: 20 kB / 0.6978 GB, free: 15.4 MB / 0.4981 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.0005282/0.166, allocations: 0.6515 MB / 0.6985 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.1661, allocations: 16 kB / 0.6985 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1661, allocations: 0 / 0.6985 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.1661, allocations: 11.92 kB / 0.6985 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1663, allocations: 8.75 kB / 0.6985 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1673, allocations: 1.127 MB / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1676, allocations: 0.6768 MB / 0.7003 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.1676, allocations: 4 kB / 0.7003 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1677, allocations: 15.42 kB / 0.7003 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1677, allocations: 0 / 0.7003 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1924, allocations: 1.734 MB / 0.702 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.596, allocations: 18.19 kB / 0.702 GB, free: 11.16 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)