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.006277/0.006277, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001184/0.001184, allocations: 191.2 kB / 16.67 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.152/1.152, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.257/1.257, allocations: 251.7 MB / 0.5094 GB, free: 404 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.001276/0.001276, allocations: 71.91 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4664, allocations: 104.7 MB / 0.8281 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001773/0.4682, allocations: 0.7897 MB / 0.8289 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.4699, allocations: 1.519 MB / 0.8303 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.4699, allocations: 0 / 0.8303 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.4699, allocations: 3.938 kB / 0.8303 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.47, allocations: 7.938 kB / 0.8303 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.4704, allocations: 139.4 kB / 0.8305 GB, free: 128 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.4705, allocations: 59.78 kB / 0.8305 GB, free: 68 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.4705, allocations: 7.984 kB / 0.8305 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.4706, allocations: 27.91 kB / 0.8306 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.4707, allocations: 31.91 kB / 0.8306 GB, free: 0 / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.4707, allocations: 4.047 kB / 0.8306 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.4711, allocations: 323.3 kB / 0.8309 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.4711, allocations: 11.92 kB / 0.8309 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.4712, allocations: 27.86 kB / 0.831 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.4714, allocations: 207.1 kB / 0.8311 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4715, allocations: 0 / 0.8311 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.008e-06/0.4715, allocations: 0 / 0.8311 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.4715, allocations: 3.938 kB / 0.8312 GB, free: 15.44 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.0005936/0.4721, allocations: 401.7 kB / 0.8315 GB, free: 15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.4721, allocations: 8.031 kB / 0.8315 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.4725, allocations: 68.84 kB / 0.8316 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.4727, allocations: 176.2 kB / 0.8318 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4727, allocations: 8.375 kB / 0.8318 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4727, allocations: 4.375 kB / 0.8318 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.4731, allocations: 117.9 kB / 0.8319 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4731, allocations: 0 / 0.8319 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4731, allocations: 4 kB / 0.8319 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4731, allocations: 4 kB / 0.8319 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.4736, allocations: 100.9 kB / 0.832 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.4741, allocations: 328.6 kB / 0.8323 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.4747, allocations: 154.4 kB / 0.8325 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.475, allocations: 56.81 kB / 0.8325 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.475, allocations: 12.08 kB / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.475, allocations: 30.56 kB / 0.8326 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.475, allocations: 0 / 0.8326 GB, free: 13.84 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.01725/0.4923, allocations: 2.838 MB / 0.8353 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4923, allocations: 59.34 kB / 0.8354 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.4924, allocations: 105.8 kB / 0.8355 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.4925, allocations: 25.7 kB / 0.8355 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.4926, allocations: 95.98 kB / 0.8356 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.4926, allocations: 35.45 kB / 0.8356 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.4928, allocations: 69.58 kB / 0.8357 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4929, allocations: 318.9 kB / 0.836 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.4936, allocations: 199.7 kB / 0.8362 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.4942, allocations: 183.8 kB / 0.8364 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4955, allocations: 397.8 kB / 0.8368 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4955, allocations: 0 / 0.8368 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001514/0.497, allocations: 485 kB / 0.8372 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4971, allocations: 4 kB / 0.8372 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4971, allocations: 4 kB / 0.8372 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4971, allocations: 0 / 0.8372 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.4979, allocations: 107.8 kB / 0.8373 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4979, allocations: 8.266 kB / 0.8373 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.4985, allocations: 51.88 kB / 0.8374 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.4986, allocations: 23.94 kB / 0.8374 GB, free: 8.723 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.0001475/0.4987, allocations: 113.8 kB / 0.8375 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.4988, allocations: 7.906 kB / 0.8375 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.4989, allocations: 11.95 kB / 0.8375 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4989, allocations: 8 kB / 0.8375 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4989, allocations: 3.938 kB / 0.8375 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4989, allocations: 0 / 0.8375 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.501, allocations: 1.047 MB / 0.8386 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.501, allocations: 0 / 0.8386 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/0.5018, allocations: 111.8 kB / 0.8387 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5018, allocations: 3.938 kB / 0.8387 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.5019, allocations: 27.86 kB / 0.8387 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5019, allocations: 0 / 0.8387 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5019, allocations: 0 / 0.8387 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.5042, allocations: 0.7917 MB / 0.8395 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5043, allocations: 121 kB / 0.8396 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.5044, allocations: 0 / 0.8396 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.5051, allocations: 52 kB / 0.8396 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5052, allocations: 23.92 kB / 0.8397 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.5052, allocations: 23.94 kB / 0.8397 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.5053, allocations: 83.27 kB / 0.8398 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.5053, allocations: 0 / 0.8398 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003845/0.5057, allocations: 56 kB / 0.8398 GB, free: 6.094 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.0002247/0.5059, allocations: 112.3 kB / 0.8399 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.5073, allocations: 427.4 kB / 0.8403 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5074, allocations: 0 / 0.8403 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.5081, allocations: 223.7 kB / 0.8406 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5084, allocations: 11.98 kB / 0.8406 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.5125, allocations: 0.7712 MB / 0.8413 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.5128, allocations: 0.6924 MB / 0.842 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004797/0.5133, allocations: 89 kB / 0.8421 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.5135, allocations: 59.3 kB / 0.8421 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.5135, allocations: 0 / 0.8421 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.005787/0.5193, allocations: 3.48 MB / 0.8455 GB, free: 192 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)