Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005606/0.005606, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001402/0.001402, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.91 kB / 0.7258 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.494, allocations: 104.7 MB / 0.8281 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001779/0.4958, allocations: 0.7819 MB / 0.8289 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4975, allocations: 1.527 MB / 0.8303 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.4975, allocations: 0 / 0.8303 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.4975, allocations: 3.938 kB / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.4976, allocations: 7.938 kB / 0.8304 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.498, allocations: 139.4 kB / 0.8305 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.4981, allocations: 47.91 kB / 0.8305 GB, free: 48 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.4982, allocations: 4 kB / 0.8305 GB, free: 44 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.4983, allocations: 35.91 kB / 0.8306 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.4983, allocations: 31.89 kB / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4983, allocations: 8 kB / 0.8306 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.4987, allocations: 315.3 kB / 0.8309 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.4988, allocations: 19.92 kB / 0.8309 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.4988, allocations: 27.86 kB / 0.831 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4991, allocations: 211.1 kB / 0.8312 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4991, allocations: 0 / 0.8312 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4991, allocations: 0 / 0.8312 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4991, allocations: 3.938 kB / 0.8312 GB, free: 15.41 MB / 0.6387 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.0005898/0.4997, allocations: 397.7 kB / 0.8315 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.4998, allocations: 8.031 kB / 0.8315 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.5001, allocations: 76.84 kB / 0.8316 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5003, allocations: 172.2 kB / 0.8318 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.5003, allocations: 384 / 0.8318 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.5003, allocations: 12.38 kB / 0.8318 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.5006, allocations: 120.2 kB / 0.8319 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5007, allocations: 3.984 kB / 0.8319 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5007, allocations: 4 kB / 0.8319 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5007, allocations: 0 / 0.8319 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.5011, allocations: 95.91 kB / 0.832 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.5016, allocations: 332.6 kB / 0.8323 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.5021, allocations: 158.4 kB / 0.8325 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.5024, allocations: 56.8 kB / 0.8325 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.5024, allocations: 4 kB / 0.8325 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5024, allocations: 34.56 kB / 0.8326 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.5024, allocations: 0 / 0.8326 GB, free: 13.8 MB / 0.6387 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.01609/0.5185, allocations: 2.838 MB / 0.8353 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.5186, allocations: 59.34 kB / 0.8354 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.5187, allocations: 109.8 kB / 0.8355 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.5187, allocations: 25.7 kB / 0.8355 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.5188, allocations: 95.98 kB / 0.8356 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.5188, allocations: 35.45 kB / 0.8357 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.519, allocations: 69.58 kB / 0.8357 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5191, allocations: 310.8 kB / 0.836 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.5197, allocations: 191.8 kB / 0.8362 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.5203, allocations: 195.8 kB / 0.8364 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5215, allocations: 391.8 kB / 0.8368 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5215, allocations: 0 / 0.8368 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001376/0.5229, allocations: 485.2 kB / 0.8372 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5229, allocations: 4 kB / 0.8372 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5229, allocations: 320 / 0.8372 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5229, allocations: 0 / 0.8372 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.5237, allocations: 111.8 kB / 0.8373 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5237, allocations: 3.938 kB / 0.8373 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.5242, allocations: 51.88 kB / 0.8374 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.5243, allocations: 27.91 kB / 0.8374 GB, free: 8.695 MB / 0.6387 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.0001386/0.5244, allocations: 117.8 kB / 0.8375 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.5245, allocations: 11.84 kB / 0.8375 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.5246, allocations: 7.969 kB / 0.8375 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5246, allocations: 0 / 0.8375 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5246, allocations: 7.938 kB / 0.8375 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5246, allocations: 0 / 0.8375 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.5266, allocations: 1.047 MB / 0.8386 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5266, allocations: 0 / 0.8386 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.5273, allocations: 107.7 kB / 0.8387 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5273, allocations: 7.938 kB / 0.8387 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.5274, allocations: 31.86 kB / 0.8387 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5274, allocations: 4 kB / 0.8387 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5274, allocations: 0 / 0.8387 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.5295, allocations: 0.7918 MB / 0.8395 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5296, allocations: 117 kB / 0.8396 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.5297, allocations: 4 kB / 0.8396 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.5302, allocations: 44 kB / 0.8396 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.5303, allocations: 27.92 kB / 0.8397 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.5304, allocations: 27.94 kB / 0.8397 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.5304, allocations: 79.38 kB / 0.8398 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5305, allocations: 3.938 kB / 0.8398 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003363/0.5308, allocations: 55.98 kB / 0.8398 GB, free: 6.059 MB / 0.6387 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.0001842/0.531, allocations: 116.2 kB / 0.8399 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.5323, allocations: 423.5 kB / 0.8403 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5323, allocations: 0 / 0.8403 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.5329, allocations: 227.7 kB / 0.8406 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.5332, allocations: 8 kB / 0.8406 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5369, allocations: 0.7635 MB / 0.8413 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.5372, allocations: 0.6924 MB / 0.842 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.5377, allocations: 88.67 kB / 0.8421 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5379, allocations: 59.3 kB / 0.8421 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.5379, allocations: 0 / 0.8421 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of Templates: time 0.006095/0.544, allocations: 3.474 MB / 0.8455 GB, free: 172 kB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)