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.006574/0.006574, allocations: 101 kB / 15.73 MB, free: 6.055 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.00138/0.00138, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 298.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 178.6 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 95.84 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4419, allocations: 89.13 MB / 0.7814 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001484/0.4435, allocations: 0.6012 MB / 0.782 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005464/0.444, allocations: 343.6 kB / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.4441, allocations: 0 / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.4441, allocations: 1.125 kB / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.858e-05/0.4441, allocations: 0 / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.4445, allocations: 112.2 kB / 0.7824 GB, free: 392 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.09e-05/0.4446, allocations: 12.91 kB / 0.7824 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.4446, allocations: 6.531 kB / 0.7824 GB, free: 380 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.4446, allocations: 5.234 kB / 0.7824 GB, free: 376 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.4447, allocations: 6.797 kB / 0.7824 GB, free: 372 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4447, allocations: 0 / 0.7824 GB, free: 372 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.445, allocations: 276.2 kB / 0.7827 GB, free: 216 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.4451, allocations: 3.984 kB / 0.7827 GB, free: 212 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.4451, allocations: 10.16 kB / 0.7827 GB, free: 204 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.4452, allocations: 91.69 kB / 0.7828 GB, free: 148 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4453, allocations: 0 / 0.7828 GB, free: 148 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4453, allocations: 0 / 0.7828 GB, free: 148 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4453, allocations: 4 kB / 0.7828 GB, free: 144 kB / 0.545 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.000354/0.4456, allocations: 351.3 kB / 0.7831 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4457, allocations: 12.48 kB / 0.7832 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.4457, allocations: 31.97 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.4458, allocations: 2.625 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4459, allocations: 165.9 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.4459, allocations: 384 / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4459, allocations: 2 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.446, allocations: 42.56 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.446, allocations: 3.938 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.4461, allocations: 0 / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4461, allocations: 1.719 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.4461, allocations: 1.094 kB / 0.7834 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.4463, allocations: 153.7 kB / 0.7835 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.4463, allocations: 23.08 kB / 0.7836 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.4463, allocations: 7.516 kB / 0.7836 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/0.4471, allocations: 467.7 kB / 0.784 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4471, allocations: 35.84 kB / 0.784 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4471, allocations: 4 kB / 0.7841 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005922/0.4477, allocations: 251.4 kB / 0.7843 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4478, allocations: 52.72 kB / 0.7843 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.4479, allocations: 96.61 kB / 0.7844 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4479, allocations: 25.7 kB / 0.7845 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.4479, allocations: 82.05 kB / 0.7845 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.448, allocations: 21.78 kB / 0.7846 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.448, allocations: 12.34 kB / 0.7846 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4481, allocations: 312.2 kB / 0.7849 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.4482, allocations: 6.562 kB / 0.7849 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.4482, allocations: 22.7 kB / 0.7849 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.4483, allocations: 23.09 kB / 0.7849 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4483, allocations: 5.469 kB / 0.7849 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.4484, allocations: 61.61 kB / 0.785 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4484, allocations: 8.312 kB / 0.785 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4484, allocations: 5.312 kB / 0.785 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4484, allocations: 0 / 0.785 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.4485, allocations: 6.719 kB / 0.785 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4485, allocations: 5.328 kB / 0.785 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.4485, allocations: 0 / 0.785 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4485, allocations: 2.625 kB / 0.785 GB, free: 13.68 MB / 0.5606 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 7.629e-05/0.4486, allocations: 115.2 kB / 0.7851 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.4487, allocations: 5.375 kB / 0.7851 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.4488, allocations: 57.75 kB / 0.7852 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4488, allocations: 0 / 0.7852 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4488, allocations: 0 / 0.7852 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4488, allocations: 1.438 kB / 0.7852 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.4489, allocations: 153.6 kB / 0.7853 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4489, allocations: 4 kB / 0.7853 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.449, allocations: 4.375 kB / 0.7853 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.449, allocations: 9.5 kB / 0.7853 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.449, allocations: 3.984 kB / 0.7853 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.449, allocations: 0 / 0.7853 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.449, allocations: 2.25 kB / 0.7854 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.4492, allocations: 76.22 kB / 0.7854 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.4492, allocations: 86.5 kB / 0.7855 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4493, allocations: 5.156 kB / 0.7855 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.4493, allocations: 5.219 kB / 0.7855 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.4493, allocations: 5.172 kB / 0.7855 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4493, allocations: 0.9688 kB / 0.7855 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.4494, allocations: 77.94 kB / 0.7856 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4494, allocations: 0 / 0.7856 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002044/0.4496, allocations: 22.56 kB / 0.7856 GB, free: 13.02 MB / 0.5606 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.0005193/0.4501, allocations: 0.6461 MB / 0.7862 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.4502, allocations: 23.33 kB / 0.7863 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4502, allocations: 0 / 0.7863 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.4502, allocations: 10.81 kB / 0.7863 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4504, allocations: 1.656 kB / 0.7863 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.4514, allocations: 1.132 MB / 0.7874 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4517, allocations: 0.674 MB / 0.788 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.4517, allocations: 2.656 kB / 0.788 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.4517, allocations: 12.77 kB / 0.7881 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4517, allocations: 0 / 0.7881 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4764, allocations: 1.763 MB / 0.7898 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.061, allocations: 11.5 kB / 0.7898 GB, free: 9.617 MB / 0.5606 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)