Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_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_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00221/0.002211, allocations: 185 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.6366 GB, free: 8.668 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.00116, allocations: 100.9 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005672/0.0005672, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2849, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7221/1.007, allocations: 140.5 MB / 1.126 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.007, allocations: 83.23 kB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01597/1.023, allocations: 5.476 MB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.544e-06/1.023, allocations: 0 / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.023, allocations: 8 kB / 1.131 GB, free: 30.45 MB / 0.7292 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.000609/1.024, allocations: 402.7 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.024, allocations: 12.02 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/1.024, allocations: 42.5 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/1.025, allocations: 67.12 kB / 1.132 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.025, allocations: 171 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/1.025, allocations: 4 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.025, allocations: 15.44 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/1.025, allocations: 117.9 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.025, allocations: 5.453 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/1.025, allocations: 4 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.025, allocations: 0 / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/1.026, allocations: 123.2 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/1.026, allocations: 347 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/1.027, allocations: 180.7 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/1.027, allocations: 4 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/1.027, allocations: 30.56 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.027, allocations: 0 / 1.133 GB, free: 28.95 MB / 0.7292 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.02027/1.047, allocations: 3.185 MB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/1.047, allocations: 55.34 kB / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/1.048, allocations: 96.56 kB / 1.136 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/1.048, allocations: 25.7 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/1.048, allocations: 93.53 kB / 1.136 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/1.048, allocations: 38.75 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/1.048, allocations: 0.6562 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/1.048, allocations: 325 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/1.049, allocations: 208 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/1.049, allocations: 219.8 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/1.05, allocations: 213.8 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.05, allocations: 4 kB / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001546/1.051, allocations: 0.5169 MB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.051, allocations: 8.562 kB / 1.137 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.051, allocations: 4.562 kB / 1.137 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.051, allocations: 3.953 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/1.052, allocations: 125.7 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.052, allocations: 0.6094 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/1.053, allocations: 56.7 kB / 1.138 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/1.053, allocations: 26.05 kB / 1.138 GB, free: 24.87 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.053, allocations: 118.5 kB / 1.138 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/1.053, allocations: 4.797 kB / 1.138 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/1.054, allocations: 8.625 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.054, allocations: 8.75 kB / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/1.054, allocations: 0 / 1.138 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.054, allocations: 4.703 kB / 1.138 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/1.056, allocations: 1.1 MB / 1.139 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.056, allocations: 3.953 kB / 1.139 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009501/1.057, allocations: 117.7 kB / 1.139 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.057, allocations: 2.531 kB / 1.139 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/1.057, allocations: 29.81 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.057, allocations: 1.062 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.057, allocations: 0.5625 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/1.059, allocations: 0.8645 MB / 1.14 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.059, allocations: 127.4 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/1.06, allocations: 0 / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007411/1.06, allocations: 57.36 kB / 1.14 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.06, allocations: 27.83 kB / 1.14 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.767e-05/1.061, allocations: 34.52 kB / 1.14 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.624e-05/1.061, allocations: 76.03 kB / 1.14 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.061, allocations: 0 / 1.14 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004685/1.061, allocations: 60.69 kB / 1.14 GB, free: 22.64 MB / 0.7292 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 (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.002646/1.064, allocations: 1.425 MB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.065, allocations: 477.6 kB / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.065, allocations: 0 / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/1.066, allocations: 250.3 kB / 1.142 GB, free: 20.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/1.066, allocations: 11.47 kB / 1.142 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/1.073, allocations: 1.861 MB / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.074, allocations: 0.6947 MB / 1.145 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006732/1.074, allocations: 93.27 kB / 1.145 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.075, allocations: 67.91 kB / 1.145 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of SimCode: time 1.703e-06/1.075, allocations: 0 / 1.145 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/1.093, allocations: 4.139 MB / 1.149 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.093, allocations: 206 kB / 1.149 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.798, allocations: 0 / 1.149 GB, free: 16.16 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)