Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 182.7 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.6332/0.6332, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.573/1.573, allocations: 223.1 MB / 354.3 MB, free: 12.24 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.001206/0.001207, allocations: 96.27 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003332, allocations: 12 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 72.31 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5553/0.7041, allocations: 101.7 MB / 0.6682 GB, free: 2.789 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.7044, allocations: 79.94 kB / 0.6683 GB, free: 2.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.7195, allocations: 5.13 MB / 0.6733 GB, free: 13.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7196, allocations: 0 / 0.6733 GB, free: 13.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.7196, allocations: 0 / 0.6733 GB, free: 13.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004922/0.7201, allocations: 371.8 kB / 0.6737 GB, free: 13.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.7202, allocations: 12.03 kB / 0.6737 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.7203, allocations: 42.48 kB / 0.6737 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.7204, allocations: 7.953 kB / 0.6737 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.7205, allocations: 171 kB / 0.6739 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.7205, allocations: 0 / 0.6739 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.7206, allocations: 11.91 kB / 0.6739 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.7207, allocations: 41.69 kB / 0.6739 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7207, allocations: 0 / 0.6739 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7208, allocations: 4 kB / 0.6739 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7208, allocations: 3.984 kB / 0.674 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.7209, allocations: 31.83 kB / 0.674 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.7211, allocations: 165.7 kB / 0.6741 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7212, allocations: 58.55 kB / 0.6742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.7219, allocations: 465.5 kB / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.722, allocations: 30.56 kB / 0.6747 GB, free: 11.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.722, allocations: 0 / 0.6747 GB, free: 11.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001413/0.7234, allocations: 0.5885 MB / 0.6752 GB, free: 11.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.7235, allocations: 55.36 kB / 0.6753 GB, free: 11.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.7235, allocations: 96.98 kB / 0.6754 GB, free: 11.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.7236, allocations: 29.64 kB / 0.6754 GB, free: 11.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.7236, allocations: 80.14 kB / 0.6755 GB, free: 10.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.7237, allocations: 47.36 kB / 0.6755 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7237, allocations: 4 kB / 0.6755 GB, free: 10.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7238, allocations: 314.8 kB / 0.6758 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.7239, allocations: 19.98 kB / 0.6759 GB, free: 10.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.7239, allocations: 24.08 kB / 0.6759 GB, free: 10.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.724, allocations: 23.94 kB / 0.6759 GB, free: 10.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.724, allocations: 4 kB / 0.6759 GB, free: 10.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/0.7242, allocations: 93.69 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7242, allocations: 4 kB / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7242, allocations: 0 / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7242, allocations: 0 / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7243, allocations: 31.92 kB / 0.676 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.7244, allocations: 320 / 0.676 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.7244, allocations: 3.953 kB / 0.676 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.7244, allocations: 4 kB / 0.676 GB, free: 10.4 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7245, allocations: 117.8 kB / 0.6762 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.7245, allocations: 3.906 kB / 0.6762 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.7248, allocations: 113.5 kB / 0.6763 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7248, allocations: 0 / 0.6763 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7248, allocations: 4 kB / 0.6763 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7248, allocations: 0 / 0.6763 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.7253, allocations: 354.5 kB / 0.6766 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7253, allocations: 0 / 0.6766 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.7254, allocations: 23.92 kB / 0.6766 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7255, allocations: 4 kB / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.7255, allocations: 0 / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7255, allocations: 0 / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.7255, allocations: 3.953 kB / 0.6766 GB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.7258, allocations: 226.7 kB / 0.6769 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.7259, allocations: 81.11 kB / 0.6769 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.726, allocations: 8.016 kB / 0.6769 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.7261, allocations: 4 kB / 0.6769 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.7261, allocations: 11.95 kB / 0.677 GB, free: 9.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.7261, allocations: 7.984 kB / 0.677 GB, free: 9.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.7262, allocations: 75.47 kB / 0.677 GB, free: 9.277 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7262, allocations: 0 / 0.677 GB, free: 9.277 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.7265, allocations: 59.94 kB / 0.6771 GB, free: 9.219 MB / 474.7 MB 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 (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.0009028/0.7274, allocations: 0.8061 MB / 0.6779 GB, free: 8.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7277, allocations: 69.72 kB / 0.6779 GB, free: 8.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7277, allocations: 0 / 0.6779 GB, free: 8.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.7277, allocations: 35.94 kB / 0.678 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.7279, allocations: 14.73 kB / 0.678 GB, free: 8.273 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.7289, allocations: 0.5226 MB / 0.6785 GB, free: 7.699 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.7292, allocations: 0.6888 MB / 0.6792 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.7293, allocations: 15.92 kB / 0.6792 GB, free: 6.969 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.7293, allocations: 19.44 kB / 0.6792 GB, free: 6.953 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7293, allocations: 0 / 0.6792 GB, free: 6.953 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.7446, allocations: 2.163 MB / 0.6813 GB, free: 4.961 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.7448, allocations: 202.1 kB / 0.6815 GB, free: 4.723 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.385, allocations: 0 / 0.6815 GB, free: 4.723 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)