Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_9_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.001545/0.001545, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.473/1.473, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6493, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001667/0.651, allocations: 0.6708 MB / 0.9502 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.6525, allocations: 1.468 MB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.417e-05/0.6525, allocations: 4 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.6525, allocations: 0 / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.6526, allocations: 1.469 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.6529, allocations: 113.1 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.653, allocations: 24.11 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.653, allocations: 1.781 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.6531, allocations: 21.86 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.6532, allocations: 29.34 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.6532, allocations: 1.344 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.6536, allocations: 307.6 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.6536, allocations: 18.34 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.6536, allocations: 10.2 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.6538, allocations: 129.1 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6538, allocations: 0 / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6539, allocations: 4 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.6539, allocations: 0 / 0.9523 GB, free: 7.039 MB / 0.7169 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.0004238/0.6543, allocations: 367.1 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6543, allocations: 17.34 kB / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.6548, allocations: 67.59 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.74e-05/0.6549, allocations: 165.7 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.6549, allocations: 1.594 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.6549, allocations: 9.984 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.6552, allocations: 77.36 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6552, allocations: 0 / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6552, allocations: 1.312 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6552, allocations: 0 / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.6555, allocations: 71.16 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.6557, allocations: 165.1 kB / 0.9532 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.6563, allocations: 126.5 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.6564, allocations: 49.06 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.6569, allocations: 150 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.6569, allocations: 39.69 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6569, allocations: 0 / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001102/0.658, allocations: 402.9 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.6581, allocations: 51.41 kB / 0.954 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.326e-05/0.6581, allocations: 100.8 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.6581, allocations: 26.8 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.6581, allocations: 80.14 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.6582, allocations: 22.75 kB / 0.9542 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.6582, allocations: 18.61 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.6583, allocations: 316.4 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.6584, allocations: 37.06 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.6586, allocations: 38.47 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.6589, allocations: 75.23 kB / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6589, allocations: 0 / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003405/0.6592, allocations: 121.2 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6593, allocations: 4.562 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6593, allocations: 1.312 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6593, allocations: 0 / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6594, allocations: 28.47 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.6594, allocations: 0 / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.6595, allocations: 15.95 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6596, allocations: 2.344 kB / 0.9548 GB, free: 4.727 MB / 0.7169 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 5.375e-05/0.6596, allocations: 112.4 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.6596, allocations: 5.438 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.6601, allocations: 141.3 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6601, allocations: 1.406 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6601, allocations: 0 / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6601, allocations: 0 / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.6602, allocations: 167.8 kB / 0.9552 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6602, allocations: 0 / 0.9552 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.6604, allocations: 32.91 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6604, allocations: 0 / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6604, allocations: 5.406 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.6604, allocations: 0 / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6604, allocations: 1.531 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.6609, allocations: 179.5 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.661, allocations: 91.03 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.661, allocations: 5.422 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6611, allocations: 15.98 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.6612, allocations: 2.656 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.6612, allocations: 2.625 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.6612, allocations: 84.77 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6612, allocations: 0 / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002353/0.6615, allocations: 28.53 kB / 0.9557 GB, free: 3.965 MB / 0.7169 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.0001836/0.6616, allocations: 132.3 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.662, allocations: 86.89 kB / 0.9559 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.662, allocations: 5.375 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6622, allocations: 46.94 kB / 0.9559 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.6623, allocations: 7.328 kB / 0.9559 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.6629, allocations: 215.4 kB / 0.9561 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.663, allocations: 0.6804 MB / 0.9568 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.6631, allocations: 15.7 kB / 0.9568 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6631, allocations: 4 kB / 0.9568 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.002348/0.6654, allocations: 1.119 MB / 0.9579 GB, free: 2.324 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)