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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.035/2.035, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 194.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 0.7948 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008895/0.0008894, allocations: 111.3 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 53.28 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2169, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001639/0.2186, allocations: 0.6645 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2201, allocations: 1.463 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.395e-05/0.2201, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.2202, allocations: 3.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.2202, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.2206, allocations: 111.7 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.2206, allocations: 27.97 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.2207, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.2207, allocations: 27.91 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.2208, allocations: 23.91 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2208, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2212, allocations: 319.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2212, allocations: 11.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2212, allocations: 7.984 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2215, allocations: 187.6 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2215, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2215, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2215, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 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.0004219/0.2219, allocations: 366.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2219, allocations: 15.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.2223, allocations: 68.84 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.016e-05/0.2224, allocations: 164.3 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2225, allocations: 4.375 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2225, allocations: 384 / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2227, allocations: 81.94 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2227, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2227, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2228, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.223, allocations: 63.92 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.2232, allocations: 165.6 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.2237, allocations: 126.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2238, allocations: 48.91 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.2242, allocations: 149 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.2242, allocations: 42.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2243, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.000967/0.2252, allocations: 406.2 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2253, allocations: 51.41 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/0.2253, allocations: 97.84 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.2253, allocations: 25.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.249e-05/0.2253, allocations: 84.14 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.2254, allocations: 11.81 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.2254, allocations: 21.62 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.2255, allocations: 319 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2256, allocations: 35.97 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2257, allocations: 40.03 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.226, allocations: 80.73 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.226, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003063/0.2263, allocations: 109.6 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2263, allocations: 5.094 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2264, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2264, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2265, allocations: 27.91 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2265, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.2266, allocations: 15.98 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2266, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 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 4.534e-05/0.2267, allocations: 114.4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2267, allocations: 8.266 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.2271, allocations: 133.2 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2271, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2271, allocations: 7.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2271, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.086e-05/0.2272, allocations: 169.6 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2272, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2274, allocations: 27.91 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2274, allocations: 3.938 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2274, allocations: 4.25 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2274, allocations: 7.938 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2274, allocations: 4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.2308, allocations: 1.406 MB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.2308, allocations: 85.12 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2308, allocations: 3.984 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.231, allocations: 20.08 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.231, allocations: 4 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.231, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.774e-05/0.231, allocations: 83.27 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.231, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002631/0.2313, allocations: 32 kB / 1.225 GB, free: 109.1 MB / 0.823 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.0001635/0.2315, allocations: 131.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.2318, allocations: 79.92 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2318, allocations: 4 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.232, allocations: 43.91 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2321, allocations: 10.53 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.2327, allocations: 302 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2329, allocations: 0.677 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.233, allocations: 23.94 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.233, allocations: 15.42 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/0.233, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Templates: time 0.003136/0.2362, allocations: 1.167 MB / 1.228 GB, free: 106.6 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)