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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006425/0.006425, allocations: 100.9 kB / 15.73 MB, free: 6.066 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.001662/0.001662, allocations: 195.4 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 286.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.251/1.251, allocations: 178.5 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 96.23 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4391, allocations: 89.13 MB / 0.7814 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001636/0.4408, allocations: 0.6188 MB / 0.782 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006138/0.4414, allocations: 349.9 kB / 0.7823 GB, free: 428 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.4415, allocations: 0 / 0.7823 GB, free: 428 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.4415, allocations: 3.938 kB / 0.7823 GB, free: 424 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.4415, allocations: 4 kB / 0.7823 GB, free: 420 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.442, allocations: 122.6 kB / 0.7825 GB, free: 344 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.4421, allocations: 19.48 kB / 0.7825 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.4421, allocations: 5.328 kB / 0.7825 GB, free: 332 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.4421, allocations: 13.97 kB / 0.7825 GB, free: 324 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.4422, allocations: 14.55 kB / 0.7825 GB, free: 312 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4422, allocations: 2.281 kB / 0.7825 GB, free: 312 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.4426, allocations: 275.8 kB / 0.7828 GB, free: 156 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.4426, allocations: 9.469 kB / 0.7828 GB, free: 148 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.4426, allocations: 15.86 kB / 0.7828 GB, free: 136 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.4428, allocations: 110 kB / 0.7829 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4428, allocations: 0 / 0.7829 GB, free: 64 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4428, allocations: 0 / 0.7829 GB, free: 64 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4428, allocations: 0 / 0.7829 GB, free: 64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000474/0.4433, allocations: 361.5 kB / 0.7832 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4434, allocations: 13.97 kB / 0.7833 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.4434, allocations: 32.56 kB / 0.7833 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.4435, allocations: 11.31 kB / 0.7833 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4436, allocations: 173.7 kB / 0.7835 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4436, allocations: 5.719 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.4437, allocations: 7.328 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4438, allocations: 53.81 kB / 0.7835 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4438, allocations: 3.938 kB / 0.7835 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4438, allocations: 9.125 kB / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4438, allocations: 1.031 kB / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.4439, allocations: 22.33 kB / 0.7836 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.4441, allocations: 166 kB / 0.7837 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4442, allocations: 51.78 kB / 0.7838 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.4443, allocations: 34.81 kB / 0.7838 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.4451, allocations: 463.9 kB / 0.7842 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4451, allocations: 31.62 kB / 0.7843 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4451, allocations: 0 / 0.7843 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001313/0.4464, allocations: 0.5959 MB / 0.7849 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4465, allocations: 56.81 kB / 0.7849 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.4466, allocations: 96.64 kB / 0.785 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4466, allocations: 26.92 kB / 0.785 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4466, allocations: 85.23 kB / 0.7851 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.4467, allocations: 40.8 kB / 0.7851 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.4467, allocations: 29.64 kB / 0.7852 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4469, allocations: 316.2 kB / 0.7855 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.4469, allocations: 24.48 kB / 0.7855 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.447, allocations: 21.33 kB / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.875e-05/0.4471, allocations: 56.8 kB / 0.7856 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4471, allocations: 0 / 0.7856 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001724/0.4472, allocations: 103.8 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4473, allocations: 8.359 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4473, allocations: 0 / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4473, allocations: 1.469 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4474, allocations: 17.31 kB / 0.7857 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4474, allocations: 5.594 kB / 0.7857 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.4475, allocations: 0 / 0.7857 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4475, allocations: 3.75 kB / 0.7857 GB, free: 13.2 MB / 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 9.45e-05/0.4476, allocations: 115.6 kB / 0.7858 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4476, allocations: 16.11 kB / 0.7858 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.4478, allocations: 102.9 kB / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4478, allocations: 1.25 kB / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4479, allocations: 0 / 0.7859 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4479, allocations: 9.578 kB / 0.7859 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.4483, allocations: 356.7 kB / 0.7863 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4483, allocations: 3.938 kB / 0.7863 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4484, allocations: 17.59 kB / 0.7863 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.4484, allocations: 8.984 kB / 0.7863 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4485, allocations: 1.125 kB / 0.7863 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4485, allocations: 1.094 kB / 0.7863 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4485, allocations: 7.984 kB / 0.7863 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.4488, allocations: 218 kB / 0.7865 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.4489, allocations: 96.95 kB / 0.7866 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.4489, allocations: 0.9375 kB / 0.7866 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.449, allocations: 1.281 kB / 0.7866 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.4491, allocations: 12.42 kB / 0.7866 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.4491, allocations: 2.188 kB / 0.7866 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.4491, allocations: 77.56 kB / 0.7867 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.544e-06/0.4491, allocations: 1.156 kB / 0.7867 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003009/0.4494, allocations: 52.36 kB / 0.7868 GB, free: 12.23 MB / 0.5606 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.0008518/0.4503, allocations: 0.787 MB / 0.7875 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.4505, allocations: 62.45 kB / 0.7876 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4505, allocations: 1.031 kB / 0.7876 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.4506, allocations: 41.55 kB / 0.7876 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.4508, allocations: 8.594 kB / 0.7876 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4525, allocations: 1.4 MB / 0.789 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.4529, allocations: 0.6882 MB / 0.7897 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.811e-05/0.453, allocations: 6.469 kB / 0.7897 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4531, allocations: 23.27 kB / 0.7897 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.4531, allocations: 1.219 kB / 0.7897 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.478, allocations: 2.503 MB / 0.7922 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.171, allocations: 15.03 kB / 0.7922 GB, free: 8.18 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_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_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)