Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 176.8 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 14.94 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3565, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007869/0.3573, allocations: 334.8 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3594, allocations: 1.46 MB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.3595, allocations: 7.938 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3595, allocations: 0 / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.3595, allocations: 0 / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.3601, allocations: 111.7 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.3601, allocations: 31.97 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.3602, allocations: 0 / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.3603, allocations: 19.98 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.3603, allocations: 23.91 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3604, allocations: 0 / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3609, allocations: 311.3 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.3609, allocations: 11.98 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.3609, allocations: 41.62 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3613, allocations: 179.7 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3613, allocations: 7.938 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3613, allocations: 8 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3613, allocations: 0 / 1.077 GB, free: 4.961 MB / 0.8262 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.0006034/0.3619, allocations: 359.7 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.362, allocations: 8.031 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.3625, allocations: 84.75 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3627, allocations: 164.4 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3627, allocations: 8.375 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.3628, allocations: 384 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.3631, allocations: 81.94 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3631, allocations: 8 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3631, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3631, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3635, allocations: 83.86 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.3637, allocations: 161.7 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.3644, allocations: 138.6 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3645, allocations: 48.92 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.3651, allocations: 177 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3651, allocations: 38.5 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3651, allocations: 0 / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.001382/0.3665, allocations: 434.2 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3666, allocations: 55.41 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.3666, allocations: 93.86 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3667, allocations: 29.64 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.3667, allocations: 92.23 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.3668, allocations: 19.75 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3668, allocations: 9.719 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3669, allocations: 318.8 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3671, allocations: 43.95 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3673, allocations: 39.97 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3676, allocations: 92.8 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3676, allocations: 0 / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003875/0.368, allocations: 133.7 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.368, allocations: 4 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.368, allocations: 400 / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3681, allocations: 11.94 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3682, allocations: 27.92 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3682, allocations: 0 / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3683, allocations: 15.98 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3684, allocations: 7.984 kB / 1.079 GB, free: 1.941 MB / 0.8262 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 8.732e-05/0.3685, allocations: 109.8 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3685, allocations: 11.92 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.369, allocations: 149.1 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.369, allocations: 0 / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.369, allocations: 4 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.369, allocations: 3.938 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3692, allocations: 165.7 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3692, allocations: 4 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3694, allocations: 23.92 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3694, allocations: 4 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3694, allocations: 0 / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3694, allocations: 7.984 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3694, allocations: 0 / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3701, allocations: 197 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3702, allocations: 96.97 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3702, allocations: 0 / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3704, allocations: 15.98 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3704, allocations: 7.984 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3704, allocations: 3.938 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.3705, allocations: 83.34 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3705, allocations: 0 / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002447/0.3707, allocations: 31.98 kB / 1.08 GB, free: 0.9375 MB / 0.8262 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.0002501/0.371, allocations: 127.2 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.3714, allocations: 100.2 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3714, allocations: 0 / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3716, allocations: 55.89 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.3718, allocations: 7.938 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.3724, allocations: 208.8 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3728, allocations: 0.677 MB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.3729, allocations: 19.98 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.373, allocations: 11.44 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.373, allocations: 0 / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.003847/0.3769, allocations: 1.127 MB / 1.082 GB, free: 14.55 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)