Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 102.9 kB / 16.27 MB, free: 5.961 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.001847/0.001847, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.1 MB / 0.7111 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.88 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2799, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002194/0.2822, allocations: 0.7765 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2842, allocations: 1.487 MB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.2843, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.2844, allocations: 3.938 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.2844, allocations: 0 / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.2849, allocations: 143.9 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.285, allocations: 55.84 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.285, allocations: 3.984 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.2851, allocations: 27.91 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.2852, allocations: 35.89 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2852, allocations: 7.938 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.2857, allocations: 319.4 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.2858, allocations: 11.92 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.2858, allocations: 35.84 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.2862, allocations: 199.6 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2862, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2862, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2862, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 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.0006888/0.2869, allocations: 403.6 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2869, allocations: 8.922 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.2874, allocations: 68.84 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.2876, allocations: 176.2 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2876, allocations: 16.31 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2876, allocations: 4.375 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.288, allocations: 106.5 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.288, allocations: 4 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2881, allocations: 3.984 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2881, allocations: 8 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.2886, allocations: 95.89 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.2892, allocations: 348.6 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.2899, allocations: 150.5 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.2902, allocations: 60.73 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.2902, allocations: 4 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2902, allocations: 34.56 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2903, allocations: 4 kB / 1.022 GB, free: 5.902 MB / 0.795 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.01905/0.3093, allocations: 2.826 MB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3094, allocations: 59.34 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.3095, allocations: 97.86 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.3096, allocations: 25.7 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3096, allocations: 99.97 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.3097, allocations: 39.45 kB / 1.026 GB, free: 2.633 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3099, allocations: 69.58 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.31, allocations: 314.8 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.3107, allocations: 187.8 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.3115, allocations: 192.7 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3129, allocations: 404 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3129, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001647/0.3146, allocations: 481.3 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3146, allocations: 7.938 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3146, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3147, allocations: 4 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.3155, allocations: 107.7 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3156, allocations: 3.938 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.3162, allocations: 43.94 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.3163, allocations: 27.92 kB / 1.027 GB, free: 0.8086 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.3165, allocations: 117.8 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.3165, allocations: 7.906 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.3166, allocations: 7.969 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3166, allocations: 4 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3166, allocations: 3.938 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3166, allocations: 0 / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3191, allocations: 1.054 MB / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3191, allocations: 0 / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.3199, allocations: 107.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.32, allocations: 7.938 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.32, allocations: 19.94 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.32, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.32, allocations: 3.984 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.3226, allocations: 0.7955 MB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.3227, allocations: 117 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.3228, allocations: 0 / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/0.3235, allocations: 59.98 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.3236, allocations: 24.11 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.3237, allocations: 23.94 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.3238, allocations: 83.27 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003875/0.3242, allocations: 48 kB / 1.03 GB, free: 14.18 MB / 0.8106 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 (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.0002091/0.3244, allocations: 119.2 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.326, allocations: 427.4 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.326, allocations: 0 / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.3268, allocations: 231.7 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3271, allocations: 9.5 kB / 1.03 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.3316, allocations: 0.7809 MB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3319, allocations: 0.6929 MB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.3323, allocations: 75.23 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3323, allocations: 4 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of Templates: time 0.006245/0.3386, allocations: 3.781 MB / 1.036 GB, free: 8.004 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)