Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_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_latest_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.001135/0.001135, allocations: 92.16 kB / 16.02 MB, free: 80 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.001722/0.001722, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 14.31 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007566/0.2988, allocations: 338.8 kB / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3008, allocations: 1.466 MB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.3008, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.3008, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.16e-05/0.3009, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.3014, allocations: 111.7 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.3014, allocations: 31.95 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.3015, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.3015, allocations: 19.98 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.3016, allocations: 27.84 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3017, allocations: 4 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.3021, allocations: 315.3 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3021, allocations: 3.984 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.3022, allocations: 49.56 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3024, allocations: 127.9 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3024, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3024, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3024, allocations: 0 / 1.062 GB, free: 2.496 MB / 0.8106 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.0005175/0.303, allocations: 363.8 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.303, allocations: 8.031 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.3035, allocations: 84.84 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3036, allocations: 160.4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3036, allocations: 384 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3037, allocations: 4.375 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.304, allocations: 89.94 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.304, allocations: 4 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.304, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.304, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3043, allocations: 79.88 kB / 1.063 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3045, allocations: 169.5 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.3052, allocations: 146.6 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3053, allocations: 52.92 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.3058, allocations: 173 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3059, allocations: 38.48 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.001227/0.3071, allocations: 438.2 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3072, allocations: 51.41 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.3072, allocations: 105.8 kB / 1.064 GB, free: 324 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3073, allocations: 25.7 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3073, allocations: 80.14 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3073, allocations: 15.73 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3074, allocations: 17.72 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3075, allocations: 310.8 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3077, allocations: 44.09 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3078, allocations: 47.95 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.3082, allocations: 88.81 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3082, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003842/0.3086, allocations: 125.6 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3086, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3086, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3086, allocations: 3.938 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3088, allocations: 35.91 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3088, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3089, allocations: 19.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3089, allocations: 0 / 1.064 GB, free: 15.48 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 7.84e-05/0.309, allocations: 113.8 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.309, allocations: 3.938 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.3095, allocations: 149.1 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3095, allocations: 3.938 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3095, allocations: 4.312 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3095, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3097, allocations: 169.6 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3097, allocations: 7.938 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3099, allocations: 31.91 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3099, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3099, allocations: 0 / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3099, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3099, allocations: 0 / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.3105, allocations: 209 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.3106, allocations: 89.06 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3106, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3108, allocations: 19.98 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.3108, allocations: 8 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3108, allocations: 7.984 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.3109, allocations: 75.28 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3109, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000232/0.3111, allocations: 32 kB / 1.065 GB, free: 14.47 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.000216/0.3113, allocations: 131.2 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3117, allocations: 96.02 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3117, allocations: 4 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3119, allocations: 47.91 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.3121, allocations: 15.06 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.3127, allocations: 230.5 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.313, allocations: 0.6848 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.313, allocations: 11.44 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.313, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.002761/0.3158, allocations: 1.12 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)