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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.81/0.81, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 185 kB / 187.3 MB, free: 11.91 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009836, allocations: 92.41 kB / 0.5124 GB, free: 24.1 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002423/0.002423, allocations: 279.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 6.96e-05/6.997e-05, allocations: 4 kB / 0.6836 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6836, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.8442, allocations: 108.6 MB / 0.8704 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.8446, allocations: 75.89 kB / 0.8705 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.8595, allocations: 4.574 MB / 0.875 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8595, allocations: 4 kB / 0.875 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.8596, allocations: 0 / 0.875 GB, free: 11.29 MB / 0.5417 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.0005518/0.8601, allocations: 342.4 kB / 0.8753 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.635e-05/0.8602, allocations: 15.3 kB / 0.8753 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.8603, allocations: 30.56 kB / 0.8753 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.8604, allocations: 4 kB / 0.8753 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.8605, allocations: 167 kB / 0.8755 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.8606, allocations: 3.953 kB / 0.8755 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.8606, allocations: 0 / 0.8755 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8607, allocations: 29.7 kB / 0.8755 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.8608, allocations: 4.578 kB / 0.8755 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8608, allocations: 4 kB / 0.8755 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8608, allocations: 4 kB / 0.8755 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.8608, allocations: 0 / 0.8755 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.8611, allocations: 149.7 kB / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.8612, allocations: 34.55 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.8612, allocations: 8.859 kB / 0.8757 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008149/0.862, allocations: 457.5 kB / 0.8762 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.8621, allocations: 34.55 kB / 0.8762 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.8621, allocations: 0 / 0.8762 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000705/0.8628, allocations: 258.2 kB / 0.8764 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.8629, allocations: 51.41 kB / 0.8765 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.863, allocations: 93 kB / 0.8766 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.863, allocations: 25.7 kB / 0.8766 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.8631, allocations: 80.14 kB / 0.8767 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.8631, allocations: 3.906 kB / 0.8767 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.8631, allocations: 4.25 kB / 0.8767 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.8634, allocations: 322.8 kB / 0.877 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.8634, allocations: 4 kB / 0.877 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.8635, allocations: 17.72 kB / 0.877 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.8635, allocations: 11.88 kB / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8635, allocations: 0 / 0.877 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/0.8636, allocations: 57.61 kB / 0.8771 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8637, allocations: 8 kB / 0.8771 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8637, allocations: 4 kB / 0.8771 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.8637, allocations: 0 / 0.8771 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.8638, allocations: 4 kB / 0.8771 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.8638, allocations: 7.938 kB / 0.8771 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.8638, allocations: 0 / 0.8771 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.8639, allocations: 0 / 0.8771 GB, free: 8.734 MB / 0.5417 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 () * 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 0.0001117/0.864, allocations: 113 kB / 0.8772 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.864, allocations: 3.953 kB / 0.8772 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.8642, allocations: 53.19 kB / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8642, allocations: 0 / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8642, allocations: 0 / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8642, allocations: 0 / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.8644, allocations: 153.7 kB / 0.8774 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8644, allocations: 4 kB / 0.8774 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.8645, allocations: 8 kB / 0.8774 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.8645, allocations: 7.922 kB / 0.8774 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8645, allocations: 7.953 kB / 0.8774 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8645, allocations: 0 / 0.8774 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8645, allocations: 0 / 0.8774 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.8648, allocations: 77.12 kB / 0.8775 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.8648, allocations: 77.11 kB / 0.8776 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.8649, allocations: 0 / 0.8776 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.8649, allocations: 3.953 kB / 0.8776 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.8649, allocations: 11.95 kB / 0.8776 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.8649, allocations: 4.062 kB / 0.8776 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.865, allocations: 79.28 kB / 0.8777 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.865, allocations: 0 / 0.8777 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002355/0.8652, allocations: 35.94 kB / 0.8777 GB, free: 8.008 MB / 0.5417 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 () * 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.0006859/0.8659, allocations: 0.6515 MB / 0.8784 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.8661, allocations: 19.98 kB / 0.8784 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8661, allocations: 7.875 kB / 0.8784 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.8661, allocations: 8 kB / 0.8784 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.8663, allocations: 12.45 kB / 0.8784 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.8667, allocations: 120.8 kB / 0.8785 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8671, allocations: 0.6774 MB / 0.8792 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.8671, allocations: 8.125 kB / 0.8792 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.8672, allocations: 15.42 kB / 0.8792 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.8672, allocations: 0 / 0.8792 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.8929, allocations: 1.499 MB / 0.8807 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.8932, allocations: 198 kB / 0.8808 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.721, allocations: 0 / 0.8808 GB, free: 4.883 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)