Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 181.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5067/0.5067, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.764/1.764, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 92.28 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.669, allocations: 101.5 MB / 0.6681 GB, free: 2.898 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.6692, allocations: 79.95 kB / 0.6682 GB, free: 2.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.6831, allocations: 4.591 MB / 0.6727 GB, free: 14.24 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6831, allocations: 0 / 0.6727 GB, free: 14.24 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.6831, allocations: 0 / 0.6727 GB, free: 14.24 MB / 474.7 MB 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.0004181/0.6835, allocations: 351.8 kB / 0.673 GB, free: 13.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.6836, allocations: 15.97 kB / 0.673 GB, free: 13.83 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.6837, allocations: 38.56 kB / 0.673 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.6837, allocations: 7.938 kB / 0.6731 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.6839, allocations: 163.1 kB / 0.6732 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6839, allocations: 0 / 0.6732 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.6839, allocations: 4 kB / 0.6732 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.684, allocations: 29.7 kB / 0.6732 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6841, allocations: 3.984 kB / 0.6732 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6841, allocations: 3.938 kB / 0.6732 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6841, allocations: 4 kB / 0.6732 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.6841, allocations: 11.95 kB / 0.6733 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.6843, allocations: 145.6 kB / 0.6734 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.6844, allocations: 34.53 kB / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.6851, allocations: 457.5 kB / 0.6739 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6851, allocations: 34.56 kB / 0.6739 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.6851, allocations: 0 / 0.6739 GB, free: 12.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005979/0.6857, allocations: 254.5 kB / 0.6741 GB, free: 12.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6858, allocations: 51.41 kB / 0.6742 GB, free: 12.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.6859, allocations: 89 kB / 0.6743 GB, free: 12.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6859, allocations: 25.7 kB / 0.6743 GB, free: 12.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.6859, allocations: 88.12 kB / 0.6744 GB, free: 12.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.686, allocations: 7.891 kB / 0.6744 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.686, allocations: 0 / 0.6744 GB, free: 12.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6861, allocations: 318.8 kB / 0.6747 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.6861, allocations: 8.125 kB / 0.6747 GB, free: 11.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.6862, allocations: 25.64 kB / 0.6747 GB, free: 11.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.6862, allocations: 8 kB / 0.6747 GB, free: 11.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.6862, allocations: 0 / 0.6747 GB, free: 11.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.6863, allocations: 45.7 kB / 0.6748 GB, free: 11.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6864, allocations: 9.547 kB / 0.6748 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6864, allocations: 0 / 0.6748 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6864, allocations: 8.062 kB / 0.6748 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.6865, allocations: 7.938 kB / 0.6748 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.6865, allocations: 0 / 0.6748 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.6865, allocations: 4 kB / 0.6748 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.6865, allocations: 0 / 0.6748 GB, free: 11.67 MB / 474.7 MB 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 9.229e-05/0.6866, allocations: 113.8 kB / 0.6749 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.6866, allocations: 7.906 kB / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.6868, allocations: 61.17 kB / 0.675 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6868, allocations: 0 / 0.675 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6868, allocations: 0 / 0.675 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6868, allocations: 3.938 kB / 0.675 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.687, allocations: 161.6 kB / 0.6751 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.687, allocations: 0 / 0.6751 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.6871, allocations: 4 kB / 0.6751 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6871, allocations: 4 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6871, allocations: 0 / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6871, allocations: 0 / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6871, allocations: 0.8594 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.6873, allocations: 89.23 kB / 0.6752 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.6873, allocations: 77.11 kB / 0.6753 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.6873, allocations: 4.031 kB / 0.6753 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.6874, allocations: 0 / 0.6753 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.6874, allocations: 3.938 kB / 0.6753 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6874, allocations: 4 kB / 0.6753 GB, free: 11.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.6875, allocations: 87.33 kB / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6875, allocations: 3.938 kB / 0.6754 GB, free: 10.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.6877, allocations: 31.94 kB / 0.6754 GB, free: 10.92 MB / 474.7 MB 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.0005764/0.6883, allocations: 0.6437 MB / 0.6761 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.709e-05/0.6884, allocations: 24.14 kB / 0.6761 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6884, allocations: 4.062 kB / 0.6761 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.6884, allocations: 4 kB / 0.6761 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.6885, allocations: 4 kB / 0.6761 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.6892, allocations: 0.5295 MB / 0.6766 GB, free: 9.629 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6895, allocations: 0.677 MB / 0.6773 GB, free: 8.926 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.6895, allocations: 4 kB / 0.6773 GB, free: 8.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.6896, allocations: 15.44 kB / 0.6773 GB, free: 8.906 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6896, allocations: 3.938 kB / 0.6773 GB, free: 8.902 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.7035, allocations: 1.475 MB / 0.6787 GB, free: 7.609 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.7037, allocations: 213.2 kB / 0.6789 GB, free: 7.355 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.301, allocations: 0 / 0.6789 GB, free: 7.355 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)