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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9232/0.9232, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5855/0.5855, allocations: 114 MB / 373.9 MB, free: 8.68 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.794e-06/1.794e-06, allocations: 0 / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.247e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001493/0.001515, allocations: 0.7809 MB / 0.555 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002904, allocations: 1.451 MB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002938, allocations: 4 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.002965, allocations: 3.938 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.003002, allocations: 7.938 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.003418, allocations: 147 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.003496, allocations: 51.89 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.003536, allocations: 4 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.003626, allocations: 35.89 kB / 0.5567 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.003671, allocations: 23.97 kB / 0.5567 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003686, allocations: 4 kB / 0.5567 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.003942, allocations: 251.5 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.003966, allocations: 19.91 kB / 0.557 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.003991, allocations: 11.98 kB / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.004237, allocations: 231.3 kB / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004239, allocations: 0 / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.62e-07/0.00424, allocations: 4 kB / 0.5572 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004244, allocations: 0 / 0.5572 GB, free: 15.71 MB / 0.5261 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.0004453/0.004689, allocations: 328.2 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004724, allocations: 12.62 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.004755, allocations: 38.73 kB / 0.5576 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.004987, allocations: 72.8 kB / 0.5576 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.005062, allocations: 113.7 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.005088, allocations: 12.31 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.005109, allocations: 4.375 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.00534, allocations: 165.6 kB / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005349, allocations: 192 / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005363, allocations: 8.125 kB / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.005368, allocations: 0 / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.00561, allocations: 103.9 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.006011, allocations: 295.7 kB / 0.5583 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.006466, allocations: 154.4 kB / 0.5584 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.006586, allocations: 56.81 kB / 0.5585 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.006599, allocations: 0 / 0.5585 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.006621, allocations: 38.55 kB / 0.5585 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006622, allocations: 4 kB / 0.5585 GB, free: 14.19 MB / 0.5261 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.008741/0.01536, allocations: 2.683 MB / 0.5612 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.01539, allocations: 55.39 kB / 0.5612 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.01544, allocations: 97.86 kB / 0.5613 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.01547, allocations: 29.7 kB / 0.5613 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.01551, allocations: 96.02 kB / 0.5614 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.01556, allocations: 35.66 kB / 0.5615 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01567, allocations: 69.58 kB / 0.5615 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.01574, allocations: 326.7 kB / 0.5618 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.0161, allocations: 195.8 kB / 0.562 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.01645, allocations: 187.8 kB / 0.5622 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.01723, allocations: 394.8 kB / 0.5626 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01724, allocations: 4 kB / 0.5626 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009178/0.01815, allocations: 473.3 kB / 0.563 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01817, allocations: 6.031 kB / 0.563 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01818, allocations: 0 / 0.563 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01819, allocations: 3.984 kB / 0.563 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.01859, allocations: 111.8 kB / 0.5631 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01859, allocations: 1.016 kB / 0.5631 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.01886, allocations: 47.88 kB / 0.5632 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.01889, allocations: 23.94 kB / 0.5632 GB, free: 9.281 MB / 0.5261 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.0001067/0.019, allocations: 121.8 kB / 0.5633 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.01905, allocations: 7.953 kB / 0.5633 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.01909, allocations: 12.11 kB / 0.5634 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01909, allocations: 0 / 0.5634 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.0191, allocations: 4.094 kB / 0.5634 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.0191, allocations: 3.938 kB / 0.5634 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.02041, allocations: 0.9917 MB / 0.5643 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02041, allocations: 0 / 0.5643 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.02079, allocations: 115.7 kB / 0.5644 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.02079, allocations: 4 kB / 0.5644 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.02082, allocations: 19.94 kB / 0.5645 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.02083, allocations: 3.938 kB / 0.5645 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02083, allocations: 0 / 0.5645 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.02216, allocations: 0.7917 MB / 0.5652 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.02226, allocations: 43.89 kB / 0.5653 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.02229, allocations: 0 / 0.5653 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.02277, allocations: 51.94 kB / 0.5653 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.02283, allocations: 23.92 kB / 0.5654 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.02287, allocations: 31.92 kB / 0.5654 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.02289, allocations: 79.28 kB / 0.5655 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.02289, allocations: 0 / 0.5655 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002541/0.02315, allocations: 55.88 kB / 0.5655 GB, free: 6.797 MB / 0.5261 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.001555/0.0247, allocations: 1.339 MB / 0.5668 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008091/0.02551, allocations: 415.5 kB / 0.5672 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02551, allocations: 0 / 0.5672 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.0259, allocations: 227.7 kB / 0.5674 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.02618, allocations: 15.88 kB / 0.5674 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.03075, allocations: 2.931 MB / 0.5703 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.03081, allocations: 79.08 kB / 0.5704 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003081/0.03112, allocations: 100.8 kB / 0.5705 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.03132, allocations: 64.36 kB / 0.5705 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of SimCode: time 3.175e-06/0.03132, allocations: 0 / 0.5705 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.05013, allocations: 5.481 MB / 0.5759 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.299, allocations: 0 / 0.5759 GB, free: 12.21 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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: 10.041930633597076] Failed to read output from testmodel.py, exit status != 0: 7.37933278363198 7.386756454 7.380840481 Calling exit ...