Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001704/0.001704, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002072/0.002072, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 497.2 MB / 0.7812 GB, free: 12.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 71.88 kB / 1.134 GB, free: 13.04 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001929/1.019, allocations: 0.7816 MB / 1.305 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001621/1.021, allocations: 1.483 MB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/1.021, allocations: 3.938 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/1.021, allocations: 3.938 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/1.021, allocations: 3.938 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/1.022, allocations: 146.7 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/1.022, allocations: 45.39 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/1.022, allocations: 2.719 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/1.022, allocations: 34.28 kB / 1.306 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/1.022, allocations: 27.23 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/1.022, allocations: 5.781 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/1.022, allocations: 322.9 kB / 1.307 GB, free: 30.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/1.022, allocations: 18.64 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/1.022, allocations: 25.36 kB / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/1.023, allocations: 222.4 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.023, allocations: 0 / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/1.023, allocations: 0 / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.023, allocations: 0 / 1.307 GB, free: 30.25 MB / 1.061 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.0005563/1.023, allocations: 399.2 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.023, allocations: 10.59 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/1.023, allocations: 37.31 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/1.024, allocations: 73.81 kB / 1.308 GB, free: 29.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/1.024, allocations: 164.3 kB / 1.308 GB, free: 29.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/1.024, allocations: 13.81 kB / 1.308 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/1.024, allocations: 7.188 kB / 1.308 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/1.024, allocations: 123 kB / 1.308 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.024, allocations: 0 / 1.308 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.024, allocations: 0 / 1.308 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.024, allocations: 6.859 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/1.024, allocations: 102 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/1.025, allocations: 341.8 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/1.026, allocations: 148.2 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/1.026, allocations: 53.78 kB / 1.308 GB, free: 29.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.026, allocations: 6.859 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/1.026, allocations: 37.53 kB / 1.309 GB, free: 29.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.026, allocations: 0 / 1.309 GB, free: 29.1 MB / 1.061 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.01742/1.043, allocations: 2.829 MB / 1.311 GB, free: 28.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/1.043, allocations: 59.34 kB / 1.311 GB, free: 28.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/1.043, allocations: 103.1 kB / 1.311 GB, free: 28.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/1.043, allocations: 29.7 kB / 1.311 GB, free: 28.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/1.043, allocations: 86.66 kB / 1.312 GB, free: 27.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/1.044, allocations: 45.23 kB / 1.312 GB, free: 27.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.044, allocations: 68.55 kB / 1.312 GB, free: 27.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/1.044, allocations: 324.7 kB / 1.312 GB, free: 27.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/1.044, allocations: 186.3 kB / 1.312 GB, free: 27.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/1.045, allocations: 199.9 kB / 1.312 GB, free: 27.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.046, allocations: 391.4 kB / 1.313 GB, free: 27.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.046, allocations: 0 / 1.313 GB, free: 27.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001374/1.047, allocations: 477 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.047, allocations: 7.562 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.047, allocations: 3.938 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.047, allocations: 4 kB / 1.313 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/1.048, allocations: 105.9 kB / 1.313 GB, free: 27.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.048, allocations: 6.5 kB / 1.313 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/1.049, allocations: 48.94 kB / 1.313 GB, free: 27.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.049, allocations: 25.05 kB / 1.313 GB, free: 27.25 MB / 1.061 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.00012/1.049, allocations: 119 kB / 1.313 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/1.049, allocations: 10.67 kB / 1.313 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/1.049, allocations: 11.97 kB / 1.313 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.049, allocations: 6.25 kB / 1.313 GB, free: 27.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.049, allocations: 0 / 1.313 GB, free: 27.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.049, allocations: 3.422 kB / 1.313 GB, free: 27.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.051, allocations: 1.046 MB / 1.315 GB, free: 26.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.051, allocations: 4 kB / 1.315 GB, free: 26.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/1.052, allocations: 110.4 kB / 1.315 GB, free: 26.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.052, allocations: 0 / 1.315 GB, free: 26.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/1.052, allocations: 23.67 kB / 1.315 GB, free: 26.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.052, allocations: 4 kB / 1.315 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.052, allocations: 0 / 1.315 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/1.054, allocations: 0.7953 MB / 1.315 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.054, allocations: 121.2 kB / 1.316 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/1.054, allocations: 7.375 kB / 1.316 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/1.055, allocations: 45.73 kB / 1.316 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/1.055, allocations: 31.17 kB / 1.316 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.055, allocations: 24.11 kB / 1.316 GB, free: 25.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.725e-05/1.055, allocations: 86.61 kB / 1.316 GB, free: 25.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 0 / 1.316 GB, free: 25.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003523/1.055, allocations: 51.38 kB / 1.316 GB, free: 25.88 MB / 1.061 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.002221/1.058, allocations: 1.342 MB / 1.317 GB, free: 25.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.059, allocations: 425 kB / 1.317 GB, free: 24.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.059, allocations: 0 / 1.317 GB, free: 24.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/1.059, allocations: 222.4 kB / 1.318 GB, free: 24.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.06, allocations: 9.891 kB / 1.318 GB, free: 24.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/1.068, allocations: 2.944 MB / 1.321 GB, free: 23.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/1.068, allocations: 0.6944 MB / 1.321 GB, free: 22.63 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005162/1.068, allocations: 94.3 kB / 1.321 GB, free: 22.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.068, allocations: 67.2 kB / 1.321 GB, free: 22.55 MB / 1.061 GB Notification: Performance of SimCode: time 1.262e-06/1.068, allocations: 0 / 1.321 GB, free: 22.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/1.098, allocations: 4.587 MB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/9.569, allocations: 9.5 kB / 1.326 GB, free: 22.05 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.905947888735682] Failed to read output from testmodel.py, exit status != 0: 9.641280158888549 9.663324643 8.636955694 Calling exit ...