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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8481/0.8481, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 0.5987 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.445, allocations: 83.44 MB / 0.6802 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001744/0.4467, allocations: 0.7852 MB / 0.681 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4482, allocations: 1.48 MB / 0.6824 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.4482, allocations: 0.9062 kB / 0.6824 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.4482, allocations: 3.938 kB / 0.6825 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.4483, allocations: 3.938 kB / 0.6825 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.4487, allocations: 146 kB / 0.6826 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.4488, allocations: 48 kB / 0.6826 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.4488, allocations: 2.188 kB / 0.6826 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.4489, allocations: 31.31 kB / 0.6827 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.449, allocations: 38.14 kB / 0.6827 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.449, allocations: 3.344 kB / 0.6827 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.4494, allocations: 327.1 kB / 0.683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.4494, allocations: 11.25 kB / 0.683 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.4494, allocations: 26.17 kB / 0.6831 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4497, allocations: 213.8 kB / 0.6833 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4497, allocations: 0 / 0.6833 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4497, allocations: 1.031 kB / 0.6833 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4497, allocations: 0 / 0.6833 GB, free: 3.668 MB / 0.4981 GB 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.0005369/0.4502, allocations: 410 kB / 0.6837 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4503, allocations: 8.656 kB / 0.6837 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.4503, allocations: 37.56 kB / 0.6837 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.4507, allocations: 73.95 kB / 0.6838 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.079e-05/0.4508, allocations: 169.7 kB / 0.6839 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4508, allocations: 3.125 kB / 0.6839 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.4509, allocations: 9.688 kB / 0.6839 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.4512, allocations: 113.5 kB / 0.6841 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4513, allocations: 5.609 kB / 0.6841 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4513, allocations: 4 kB / 0.6841 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4513, allocations: 2.406 kB / 0.6841 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.4517, allocations: 97.77 kB / 0.6842 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.4522, allocations: 330 kB / 0.6845 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.4528, allocations: 155.1 kB / 0.6846 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.453, allocations: 56.73 kB / 0.6847 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.453, allocations: 5.25 kB / 0.6847 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.453, allocations: 31.72 kB / 0.6847 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.453, allocations: 0 / 0.6847 GB, free: 2.359 MB / 0.4981 GB 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.01736/0.4704, allocations: 2.835 MB / 0.6875 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4704, allocations: 60.78 kB / 0.6875 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.4705, allocations: 111.2 kB / 0.6876 GB, free: 496 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.4706, allocations: 30.83 kB / 0.6877 GB, free: 460 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.4706, allocations: 89.34 kB / 0.6878 GB, free: 368 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.4706, allocations: 45.52 kB / 0.6878 GB, free: 328 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4708, allocations: 68.08 kB / 0.6879 GB, free: 268 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4709, allocations: 316.8 kB / 0.6882 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.4716, allocations: 192.5 kB / 0.6884 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.4722, allocations: 201.8 kB / 0.6885 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.4735, allocations: 384.9 kB / 0.6889 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4735, allocations: 96 / 0.6889 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001585/0.4751, allocations: 480.2 kB / 0.6894 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4751, allocations: 5.5 kB / 0.6894 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4752, allocations: 1.094 kB / 0.6894 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4752, allocations: 3.984 kB / 0.6894 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.476, allocations: 114.3 kB / 0.6895 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.476, allocations: 0 / 0.6895 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.4766, allocations: 46.69 kB / 0.6895 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.4767, allocations: 21.53 kB / 0.6896 GB, free: 15.21 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.4768, allocations: 114.1 kB / 0.6897 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.4769, allocations: 10.3 kB / 0.6897 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.477, allocations: 17.05 kB / 0.6897 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.477, allocations: 13.56 kB / 0.6897 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.477, allocations: 0 / 0.6897 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.477, allocations: 1.125 kB / 0.6897 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.4793, allocations: 1.04 MB / 0.6907 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4793, allocations: 1 kB / 0.6907 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.4801, allocations: 113.2 kB / 0.6908 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4801, allocations: 3.938 kB / 0.6908 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.4802, allocations: 24.66 kB / 0.6909 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4802, allocations: 1.375 kB / 0.6909 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4802, allocations: 0 / 0.6909 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.4825, allocations: 0.7903 MB / 0.6916 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.4827, allocations: 119.4 kB / 0.6917 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.4828, allocations: 5.562 kB / 0.6917 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.4834, allocations: 46.5 kB / 0.6918 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.4835, allocations: 27.42 kB / 0.6918 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.4836, allocations: 30.58 kB / 0.6918 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.4836, allocations: 77.69 kB / 0.6919 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4836, allocations: 0 / 0.6919 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000362/0.484, allocations: 51.47 kB / 0.692 GB, free: 13.32 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/0.4866, allocations: 1.347 MB / 0.6933 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.488, allocations: 424.7 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.488, allocations: 1 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006906/0.4887, allocations: 227.1 kB / 0.6939 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.4891, allocations: 9.25 kB / 0.6939 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/0.4977, allocations: 2.946 MB / 0.6968 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4981, allocations: 0.6909 MB / 0.6975 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005433/0.4986, allocations: 95.22 kB / 0.6976 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.4989, allocations: 63.14 kB / 0.6976 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.4989, allocations: 4 kB / 0.6976 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.5332, allocations: 4.591 MB / 0.7021 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.69, allocations: 5.922 kB / 0.7021 GB, free: 6.562 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.090981655288488] Failed to read output from testmodel.py, exit status != 0: 8.759919503703713 8.774164175 8.321729794 Calling exit ...