Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001271/0.001271, allocations: 115.2 kB / 17.13 MB, free: 5.941 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.001288/0.001288, allocations: 195.7 kB / 20.08 MB, free: 3.008 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.422/1.422, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.876/0.876, allocations: 129.2 MB / 432.5 MB, free: 13.13 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.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003035/0.003035, allocations: 75.88 kB / 0.5988 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4393, allocations: 83.43 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00207/0.4414, allocations: 0.5984 MB / 0.6808 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.4437, allocations: 1.46 MB / 0.6822 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.4437, allocations: 0 / 0.6822 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.4438, allocations: 4.938 kB / 0.6822 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.4438, allocations: 7.938 kB / 0.6823 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.4444, allocations: 137.9 kB / 0.6824 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.4445, allocations: 27.28 kB / 0.6824 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.096e-05/0.4446, allocations: 9.391 kB / 0.6824 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.4446, allocations: 13.58 kB / 0.6824 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.4447, allocations: 26.38 kB / 0.6825 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4448, allocations: 1.219 kB / 0.6825 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.4452, allocations: 320.6 kB / 0.6828 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.4452, allocations: 5.344 kB / 0.6828 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.4453, allocations: 11.98 kB / 0.6828 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.4456, allocations: 181.4 kB / 0.683 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4456, allocations: 1.125 kB / 0.683 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4456, allocations: 0 / 0.683 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.4456, allocations: 0 / 0.683 GB, free: 3.934 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005914/0.4462, allocations: 380 kB / 0.6833 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4463, allocations: 9.656 kB / 0.6833 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.4463, allocations: 32.09 kB / 0.6834 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.4467, allocations: 71.33 kB / 0.6834 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.4468, allocations: 166 kB / 0.6836 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4468, allocations: 8.297 kB / 0.6836 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4469, allocations: 3.312 kB / 0.6836 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4471, allocations: 85.66 kB / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4471, allocations: 0 / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4471, allocations: 0 / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4471, allocations: 1.125 kB / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.4474, allocations: 62.22 kB / 0.6837 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.4476, allocations: 161.5 kB / 0.6839 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.4481, allocations: 126.5 kB / 0.684 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4483, allocations: 44.05 kB / 0.6841 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.4487, allocations: 154 kB / 0.6842 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4487, allocations: 35.91 kB / 0.6842 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4487, allocations: 4 kB / 0.6842 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00122/0.4499, allocations: 402.6 kB / 0.6846 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.45, allocations: 52.22 kB / 0.6847 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.45, allocations: 96.98 kB / 0.6848 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.45, allocations: 25.7 kB / 0.6848 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.4501, allocations: 81.14 kB / 0.6849 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.4501, allocations: 30.11 kB / 0.6849 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.4502, allocations: 19.69 kB / 0.6849 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.4502, allocations: 319.8 kB / 0.6852 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4504, allocations: 33.22 kB / 0.6852 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4505, allocations: 37.25 kB / 0.6853 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.4508, allocations: 84.33 kB / 0.6854 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4508, allocations: 0 / 0.6854 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003412/0.4511, allocations: 116.9 kB / 0.6855 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4512, allocations: 5.25 kB / 0.6855 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4512, allocations: 0 / 0.6855 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4512, allocations: 5.344 kB / 0.6855 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4513, allocations: 20.23 kB / 0.6855 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4513, allocations: 3.984 kB / 0.6855 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.4514, allocations: 11.42 kB / 0.6855 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4514, allocations: 6.906 kB / 0.6855 GB, free: 1.566 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 5.418e-05/0.4515, allocations: 115.5 kB / 0.6856 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.4515, allocations: 5.781 kB / 0.6856 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.4519, allocations: 128.9 kB / 0.6858 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4519, allocations: 5.625 kB / 0.6858 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4519, allocations: 0 / 0.6858 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4519, allocations: 3.938 kB / 0.6858 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.452, allocations: 167.4 kB / 0.6859 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.452, allocations: 5.406 kB / 0.6859 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4522, allocations: 20.3 kB / 0.686 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4522, allocations: 336 / 0.686 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4522, allocations: 5.328 kB / 0.686 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4522, allocations: 7.938 kB / 0.686 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4522, allocations: 1.406 kB / 0.686 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.4527, allocations: 188.3 kB / 0.6862 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.4527, allocations: 95.27 kB / 0.6862 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4527, allocations: 0 / 0.6862 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4529, allocations: 16.89 kB / 0.6863 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.4529, allocations: 6.266 kB / 0.6863 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.4529, allocations: 2.562 kB / 0.6863 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.09e-05/0.4529, allocations: 80.66 kB / 0.6863 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4529, allocations: 0 / 0.6863 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.4531, allocations: 32.83 kB / 0.6864 GB, free: 0.7969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008444/0.454, allocations: 0.7523 MB / 0.6871 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.4544, allocations: 82.61 kB / 0.6872 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4544, allocations: 0 / 0.6872 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.4545, allocations: 47.17 kB / 0.6872 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.4547, allocations: 5.406 kB / 0.6872 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4569, allocations: 1.357 MB / 0.6886 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4573, allocations: 0.6783 MB / 0.6892 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.602e-05/0.4574, allocations: 23.05 kB / 0.6892 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.4575, allocations: 11.88 kB / 0.6893 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4575, allocations: 0 / 0.6893 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.4865, allocations: 2.064 MB / 0.6913 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.669, allocations: 20.06 kB / 0.6913 GB, free: 12.98 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.032793392892927] Failed to read output from testmodel.py, exit status != 0: 8.741012549959123 8.764733342 8.314399018 Calling exit ...