Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00079/0.0007901, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008227/0.000823, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9757/0.9757, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 83.42 MB / 0.5976 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006811/0.172, allocations: 319 kB / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005861/0.1726, allocations: 319.2 kB / 0.5982 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.1726, allocations: 4 kB / 0.5982 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.1726, allocations: 0 / 0.5982 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.654e-05/0.1727, allocations: 0 / 0.5982 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.173, allocations: 75.78 kB / 0.5982 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.539e-05/0.1731, allocations: 11.98 kB / 0.5983 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1731, allocations: 0 / 0.5983 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.1731, allocations: 7.984 kB / 0.5983 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.1732, allocations: 0 / 0.5983 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1732, allocations: 8 kB / 0.5983 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1736, allocations: 259.7 kB / 0.5985 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1736, allocations: 11.92 kB / 0.5985 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1736, allocations: 29.7 kB / 0.5986 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1737, allocations: 51.91 kB / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1737, allocations: 0 / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1738, allocations: 0 / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.1738, allocations: 0 / 0.5986 GB, free: 6.613 MB / 0.4981 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.0002845/0.1741, allocations: 335.4 kB / 0.5989 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1741, allocations: 15.97 kB / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.1741, allocations: 34.56 kB / 0.599 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1742, allocations: 3.984 kB / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1743, allocations: 171.2 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1743, allocations: 0 / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1743, allocations: 0 / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/0.1744, allocations: 37.69 kB / 0.5992 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1744, allocations: 0 / 0.5992 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1744, allocations: 3.938 kB / 0.5992 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1745, allocations: 0 / 0.5992 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.1745, allocations: 11.94 kB / 0.5992 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.1746, allocations: 161.6 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.1747, allocations: 18.61 kB / 0.5994 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1747, allocations: 8.922 kB / 0.5994 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/0.1754, allocations: 461.5 kB / 0.5998 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1754, allocations: 34.56 kB / 0.5998 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1754, allocations: 0 / 0.5998 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004605/0.1759, allocations: 254.6 kB / 0.6001 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1759, allocations: 55.34 kB / 0.6001 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.176, allocations: 97.86 kB / 0.6002 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.176, allocations: 25.7 kB / 0.6003 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.176, allocations: 80.14 kB / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1761, allocations: 11.8 kB / 0.6003 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1761, allocations: 4 kB / 0.6004 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.1762, allocations: 318.9 kB / 0.6007 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.1762, allocations: 4 kB / 0.6007 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.1762, allocations: 21.72 kB / 0.6007 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.1762, allocations: 7.984 kB / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1762, allocations: 0 / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.294e-05/0.1763, allocations: 49.64 kB / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1764, allocations: 4 kB / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1764, allocations: 0 / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1764, allocations: 8.062 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.1764, allocations: 11.98 kB / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1765, allocations: 0 / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1765, allocations: 0 / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1765, allocations: 4.141 kB / 0.6008 GB, free: 4.035 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.1766, allocations: 109.8 kB / 0.6009 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1766, allocations: 7.984 kB / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.1767, allocations: 73.03 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1767, allocations: 0 / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1768, allocations: 0 / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1768, allocations: 3.938 kB / 0.6009 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.1769, allocations: 153.6 kB / 0.6011 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1769, allocations: 0 / 0.6011 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.1769, allocations: 4 kB / 0.6011 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1769, allocations: 0 / 0.6011 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1769, allocations: 8 kB / 0.6011 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.177, allocations: 4 kB / 0.6011 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.177, allocations: 4 kB / 0.6011 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1771, allocations: 80.95 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.1771, allocations: 81.09 kB / 0.6013 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1772, allocations: 8.031 kB / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.1772, allocations: 0 / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1772, allocations: 0 / 0.6013 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1772, allocations: 4 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.1773, allocations: 79.34 kB / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1773, allocations: 0 / 0.6014 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1775, allocations: 27.98 kB / 0.6014 GB, free: 3.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.178, allocations: 0.6398 MB / 0.602 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.1781, allocations: 20.14 kB / 0.602 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1781, allocations: 4.062 kB / 0.602 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.1781, allocations: 8 kB / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1783, allocations: 4 kB / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.1788, allocations: 371.3 kB / 0.6024 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.179, allocations: 0.681 MB / 0.6031 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.1791, allocations: 4 kB / 0.6031 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1791, allocations: 14.94 kB / 0.6031 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1791, allocations: 3.938 kB / 0.6031 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.1902, allocations: 1.535 MB / 0.6046 GB, free: 108 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.275/0.4652, allocations: 226.1 kB / 0.6048 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.101, allocations: 0 / 0.6048 GB, free: 42.12 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: