Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.791/1.791, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001527/0.001527, allocations: 180.9 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.000919/0.0009191, allocations: 87.89 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.134e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8303, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/1.044, allocations: 139 MB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/1.045, allocations: 80.48 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/1.057, allocations: 4.054 MB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.013e-06/1.057, allocations: 0 / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.057, allocations: 0 / 1.113 GB, free: 6.996 MB / 0.7136 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.0005285/1.058, allocations: 362.4 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/1.058, allocations: 12.03 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/1.058, allocations: 64.44 kB / 1.114 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.058, allocations: 174.9 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.058, allocations: 7.984 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/1.059, allocations: 3.906 kB / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.007e-05/1.059, allocations: 16 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/1.059, allocations: 53.66 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.059, allocations: 0 / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.059, allocations: 0 / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.059, allocations: 0 / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/1.059, allocations: 146.2 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/1.059, allocations: 58.62 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/1.059, allocations: 16.86 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/1.059, allocations: 12.08 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/1.059, allocations: 30.56 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.059, allocations: 0 / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001293/1.061, allocations: 426.1 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.061, allocations: 51.41 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/1.061, allocations: 93 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.061, allocations: 29.83 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/1.061, allocations: 80.14 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/1.061, allocations: 18.47 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/1.061, allocations: 0 / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.061, allocations: 318.8 kB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/1.061, allocations: 12 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/1.061, allocations: 12 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/1.061, allocations: 63.92 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.061, allocations: 0 / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000337/1.062, allocations: 123.6 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.062, allocations: 8 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.062, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.062, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.062, allocations: 31.97 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.062, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/1.062, allocations: 15.98 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.062, allocations: 4 kB / 1.115 GB, free: 4.562 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/1.062, allocations: 105.8 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003387/1.063, allocations: 125.4 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/1.063, allocations: 0 / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/1.063, allocations: 137.8 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.063, allocations: 0 / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.063, allocations: 2.562 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.063, allocations: 0 / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/1.063, allocations: 138.2 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.063, allocations: 3.953 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.063, allocations: 33.75 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.063, allocations: 0 / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.063, allocations: 4 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.063, allocations: 0 / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.063, allocations: 192 / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/1.064, allocations: 169 kB / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/1.064, allocations: 96.94 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.064, allocations: 4.031 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/1.064, allocations: 16.05 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/1.064, allocations: 4 kB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/1.064, allocations: 0 / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.912e-05/1.064, allocations: 83.27 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.064, allocations: 0 / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002598/1.065, allocations: 39.94 kB / 1.116 GB, free: 3.527 MB / 0.7136 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 () * 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 (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.0008133/1.065, allocations: 0.7393 MB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001267/1.065, allocations: 32 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.065, allocations: 0 / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/1.066, allocations: 28 kB / 1.117 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/1.066, allocations: 5.672 kB / 1.117 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/1.066, allocations: 176.2 kB / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/1.067, allocations: 0.6846 MB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001143/1.067, allocations: 16 kB / 1.118 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/1.067, allocations: 16.27 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.067, allocations: 0 / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/1.086, allocations: 1.47 MB / 1.119 GB, free: 324 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.087, allocations: 166.3 kB / 1.119 GB, free: 124 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.621, allocations: 0 / 1.119 GB, free: 124 kB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)