Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_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.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_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.001634/0.001634, allocations: 182.3 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.5533/0.5533, allocations: 91.97 MB / 108.5 MB, free: 13.09 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.665/1.665, allocations: 223.2 MB / 354.3 MB, free: 12.07 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.001163/0.001162, allocations: 99.14 kB / 427.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 72.3 MB / 0.5689 GB, free: 1.793 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.7132, allocations: 103 MB / 0.6696 GB, free: 1.328 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.7136, allocations: 79.95 kB / 0.6696 GB, free: 1.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01758/0.7312, allocations: 5.539 MB / 0.6751 GB, free: 11.72 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.7312, allocations: 3.938 kB / 0.6751 GB, free: 11.72 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.7312, allocations: 3.938 kB / 0.6751 GB, free: 11.71 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006246/0.7319, allocations: 403.7 kB / 0.6754 GB, free: 11.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.7319, allocations: 12.03 kB / 0.6755 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.732, allocations: 34.56 kB / 0.6755 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.7324, allocations: 75.78 kB / 0.6756 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.7326, allocations: 167.1 kB / 0.6757 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.7327, allocations: 8 kB / 0.6757 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.7327, allocations: 8 kB / 0.6757 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.7332, allocations: 117.6 kB / 0.6758 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.7332, allocations: 7.984 kB / 0.6759 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7332, allocations: 3.938 kB / 0.6759 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.7332, allocations: 0 / 0.6759 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.7337, allocations: 131.8 kB / 0.676 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.7344, allocations: 336.7 kB / 0.6763 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.7351, allocations: 190.3 kB / 0.6765 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.7351, allocations: 0 / 0.6765 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.7352, allocations: 38.55 kB / 0.6765 GB, free: 10.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7352, allocations: 0 / 0.6765 GB, free: 10.04 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.02063/0.7558, allocations: 3.179 MB / 0.6796 GB, free: 6.773 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.7559, allocations: 51.41 kB / 0.6797 GB, free: 6.711 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.756, allocations: 96.98 kB / 0.6798 GB, free: 6.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.7561, allocations: 33.64 kB / 0.6798 GB, free: 6.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.7561, allocations: 92.03 kB / 0.6799 GB, free: 6.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.7562, allocations: 39.44 kB / 0.6799 GB, free: 6.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.7563, allocations: 7.938 kB / 0.6799 GB, free: 6.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7564, allocations: 318.8 kB / 0.6802 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.7571, allocations: 211.8 kB / 0.6804 GB, free: 5.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.7577, allocations: 219.8 kB / 0.6807 GB, free: 5.688 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.7584, allocations: 222.7 kB / 0.6809 GB, free: 5.473 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7584, allocations: 3.953 kB / 0.6809 GB, free: 5.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001552/0.76, allocations: 0.5091 MB / 0.6814 GB, free: 4.953 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.76, allocations: 9.719 kB / 0.6814 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.76, allocations: 0 / 0.6814 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7601, allocations: 0 / 0.6814 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.761, allocations: 127.7 kB / 0.6815 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.761, allocations: 320 / 0.6815 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.7617, allocations: 60.03 kB / 0.6816 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.7618, allocations: 23.88 kB / 0.6816 GB, free: 4.738 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.0001748/0.762, allocations: 121.8 kB / 0.6817 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.762, allocations: 11.86 kB / 0.6817 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.7621, allocations: 11.97 kB / 0.6817 GB, free: 4.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7621, allocations: 4 kB / 0.6817 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7621, allocations: 0 / 0.6817 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7621, allocations: 0 / 0.6817 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.7644, allocations: 1.101 MB / 0.6828 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7644, allocations: 3.984 kB / 0.6828 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.7653, allocations: 115.8 kB / 0.6829 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7653, allocations: 4 kB / 0.6829 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.7654, allocations: 27.92 kB / 0.6829 GB, free: 3.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7654, allocations: 3.984 kB / 0.6829 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7654, allocations: 0 / 0.6829 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.7678, allocations: 0.8736 MB / 0.6838 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.768, allocations: 117 kB / 0.6839 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.7681, allocations: 0 / 0.6839 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.7688, allocations: 63.98 kB / 0.684 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.7689, allocations: 27.92 kB / 0.684 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.769, allocations: 31.94 kB / 0.684 GB, free: 2.074 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.769, allocations: 79.28 kB / 0.6841 GB, free: 1.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.769, allocations: 0 / 0.6841 GB, free: 1.996 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.7695, allocations: 63.92 kB / 0.6842 GB, free: 1.934 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.002815/0.7723, allocations: 1.419 MB / 0.6855 GB, free: 496 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.7737, allocations: 471.6 kB / 0.686 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7737, allocations: 0 / 0.686 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.7745, allocations: 252.1 kB / 0.6862 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.7747, allocations: 12.16 kB / 0.6862 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.782, allocations: 1.865 MB / 0.6881 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.7823, allocations: 0.6965 MB / 0.6888 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006749/0.783, allocations: 96.66 kB / 0.6888 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.7833, allocations: 63.3 kB / 0.6889 GB, free: 12.97 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7833, allocations: 0 / 0.6889 GB, free: 12.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.8016, allocations: 4.137 MB / 0.6929 GB, free: 8.996 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.8019, allocations: 206.2 kB / 0.6931 GB, free: 8.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.44, allocations: 4.062 kB / 0.6931 GB, free: 8.746 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)