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.8499/0.8499, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 181.1 kB / 191.5 MB, free: 5.758 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.497/1.497, allocations: 223.2 MB / 447.7 MB, free: 4.73 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.0009804/0.0009805, allocations: 92.33 kB / 0.5187 GB, free: 1.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 278.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004452, allocations: 21.8 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1623, allocations: 82.81 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.3162, allocations: 108.6 MB / 0.8799 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3165, allocations: 75.95 kB / 0.88 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3668/0.6833, allocations: 4.557 MB / 0.8844 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6833, allocations: 0 / 0.8844 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6834, allocations: 0 / 0.8844 GB, free: 109 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.0002848/0.6837, allocations: 355.1 kB / 0.8848 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6837, allocations: 11.7 kB / 0.8848 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.6837, allocations: 31.22 kB / 0.8848 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.6838, allocations: 2.688 kB / 0.8848 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.6839, allocations: 168.8 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.6839, allocations: 3.953 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.6839, allocations: 3.406 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.684, allocations: 34.77 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.684, allocations: 1.25 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.684, allocations: 3.344 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6841, allocations: 0 / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.6841, allocations: 4.516 kB / 0.885 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.6842, allocations: 155.4 kB / 0.8852 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.6843, allocations: 36.19 kB / 0.8852 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/0.6848, allocations: 458 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.6848, allocations: 31.22 kB / 0.8857 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6848, allocations: 2.438 kB / 0.8857 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004633/0.6853, allocations: 252 kB / 0.8859 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.6853, allocations: 51.41 kB / 0.886 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.014e-05/0.6854, allocations: 97.75 kB / 0.8861 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.6854, allocations: 25.7 kB / 0.8861 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.6854, allocations: 80.14 kB / 0.8862 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.6854, allocations: 9.156 kB / 0.8862 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.6854, allocations: 2.906 kB / 0.8862 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.6855, allocations: 315.7 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.6855, allocations: 3.562 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.6855, allocations: 28.72 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.6856, allocations: 3.062 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.6856, allocations: 3.938 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.34e-05/0.6857, allocations: 55.89 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6857, allocations: 6.531 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.6857, allocations: 0 / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6857, allocations: 3.984 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.6858, allocations: 10.12 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6858, allocations: 4.062 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.6858, allocations: 0.6875 kB / 0.8866 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.6858, allocations: 3.547 kB / 0.8866 GB, free: 106.7 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 () * 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 4.901e-05/0.6859, allocations: 116.2 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.6859, allocations: 4.891 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.686, allocations: 51.42 kB / 0.8868 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.686, allocations: 0 / 0.8868 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.686, allocations: 4 kB / 0.8868 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.686, allocations: 0 / 0.8868 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.523e-05/0.6861, allocations: 158.8 kB / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6861, allocations: 0 / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.6862, allocations: 10.5 kB / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6862, allocations: 0 / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6862, allocations: 3.953 kB / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.6862, allocations: 0 / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6862, allocations: 0.7031 kB / 0.8869 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.6863, allocations: 84.56 kB / 0.887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.6864, allocations: 82 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.6864, allocations: 5.016 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.6864, allocations: 9.578 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.6865, allocations: 0.75 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.6865, allocations: 3.688 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.773e-05/0.6865, allocations: 76.17 kB / 0.8872 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6865, allocations: 0 / 0.8872 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002377/0.6867, allocations: 38.86 kB / 0.8872 GB, free: 106.1 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 () * 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.0003803/0.6871, allocations: 0.6533 MB / 0.8879 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.6872, allocations: 20.45 kB / 0.8879 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6872, allocations: 0 / 0.8879 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.6872, allocations: 7.656 kB / 0.8879 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.6874, allocations: 14.64 kB / 0.8879 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.6879, allocations: 0.5098 MB / 0.8884 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.688, allocations: 0.6787 MB / 0.8891 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.688, allocations: 4.578 kB / 0.8891 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.6881, allocations: 11.22 kB / 0.8891 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6881, allocations: 0 / 0.8891 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.7011, allocations: 1.498 MB / 0.8905 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.7014, allocations: 218.8 kB / 0.8907 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.301, allocations: 2.031 kB / 0.8907 GB, free: 103.9 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)