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.0007317/0.0007317, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009008/0.0009008, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.792/1.792, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.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.0005588/0.000559, allocations: 23.98 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5374, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008288/0.5383, allocations: 0.5085 MB / 0.7286 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.5398, allocations: 1.448 MB / 0.7301 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.5399, allocations: 0 / 0.7301 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.5399, allocations: 3.938 kB / 0.7301 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.5399, allocations: 0 / 0.7301 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.5403, allocations: 115.7 kB / 0.7302 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.5403, allocations: 43.91 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.5404, allocations: 4 kB / 0.7302 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.5404, allocations: 19.97 kB / 0.7302 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.5405, allocations: 43.83 kB / 0.7303 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.5405, allocations: 4 kB / 0.7303 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.5409, allocations: 303.4 kB / 0.7306 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.541, allocations: 11.98 kB / 0.7306 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.541, allocations: 33.64 kB / 0.7306 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.5412, allocations: 153.7 kB / 0.7308 GB, free: 8.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.5412, allocations: 0 / 0.7308 GB, free: 8.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5412, allocations: 0 / 0.7308 GB, free: 8.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.435e-06/0.5412, allocations: 0 / 0.7308 GB, free: 8.699 MB / 0.545 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.0004781/0.5417, allocations: 391.2 kB / 0.7311 GB, free: 8.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5418, allocations: 12.03 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.5422, allocations: 83.81 kB / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.5423, allocations: 167 kB / 0.7314 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5423, allocations: 8 kB / 0.7314 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5423, allocations: 8 kB / 0.7314 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.5426, allocations: 121.5 kB / 0.7315 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5427, allocations: 7.906 kB / 0.7315 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5427, allocations: 0 / 0.7315 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.5427, allocations: 0 / 0.7315 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.5431, allocations: 123.9 kB / 0.7316 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.5437, allocations: 348.6 kB / 0.732 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.5443, allocations: 182.4 kB / 0.7321 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.5445, allocations: 68.8 kB / 0.7322 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5445, allocations: 4 kB / 0.7322 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5446, allocations: 42.52 kB / 0.7323 GB, free: 7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5446, allocations: 0 / 0.7323 GB, free: 7 MB / 0.545 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.01666/0.5612, allocations: 3.177 MB / 0.7354 GB, free: 3.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5613, allocations: 51.41 kB / 0.7354 GB, free: 3.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.5614, allocations: 105.8 kB / 0.7355 GB, free: 3.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.5614, allocations: 29.7 kB / 0.7355 GB, free: 3.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.5615, allocations: 88.03 kB / 0.7356 GB, free: 3.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.5616, allocations: 43.39 kB / 0.7357 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.5616, allocations: 4 kB / 0.7357 GB, free: 3.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5617, allocations: 318.8 kB / 0.736 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.5624, allocations: 215.8 kB / 0.7362 GB, free: 2.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.563, allocations: 218.9 kB / 0.7364 GB, free: 2.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.5637, allocations: 219.8 kB / 0.7366 GB, free: 2.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5637, allocations: 0 / 0.7366 GB, free: 2.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001452/0.5651, allocations: 0.5206 MB / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5652, allocations: 7.938 kB / 0.7371 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.5652, allocations: 4 kB / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5652, allocations: 0 / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.566, allocations: 123.7 kB / 0.7372 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.566, allocations: 3.984 kB / 0.7372 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.5666, allocations: 59.94 kB / 0.7373 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.5666, allocations: 23.94 kB / 0.7373 GB, free: 1.676 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.5668, allocations: 113.8 kB / 0.7374 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.133e-05/0.5668, allocations: 3.953 kB / 0.7374 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.5669, allocations: 19.95 kB / 0.7374 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5669, allocations: 0 / 0.7374 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5669, allocations: 4 kB / 0.7374 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5669, allocations: 0 / 0.7374 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.5691, allocations: 1.102 MB / 0.7385 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5691, allocations: 3.938 kB / 0.7385 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.5699, allocations: 123.8 kB / 0.7386 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5699, allocations: 0 / 0.7386 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.5699, allocations: 19.94 kB / 0.7387 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.57, allocations: 3.938 kB / 0.7387 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.57, allocations: 4.094 kB / 0.7387 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.5723, allocations: 0.8659 MB / 0.7395 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.5724, allocations: 120.9 kB / 0.7396 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.5725, allocations: 4 kB / 0.7396 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.5731, allocations: 60 kB / 0.7397 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.5732, allocations: 27.92 kB / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.5733, allocations: 23.92 kB / 0.7397 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.5733, allocations: 91.22 kB / 0.7398 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5733, allocations: 0 / 0.7398 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003787/0.5737, allocations: 56 kB / 0.7399 GB, free: 14.88 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.5739, allocations: 115.5 kB / 0.74 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.5753, allocations: 467.5 kB / 0.7404 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5753, allocations: 0 / 0.7404 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.576, allocations: 255.7 kB / 0.7407 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.5763, allocations: 12.5 kB / 0.7407 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.5804, allocations: 0.8643 MB / 0.7415 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.5806, allocations: 0.6926 MB / 0.7422 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007121/0.5813, allocations: 92.67 kB / 0.7423 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.5816, allocations: 55.3 kB / 0.7424 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.5816, allocations: 0 / 0.7424 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.006094/0.5877, allocations: 3.244 MB / 0.7455 GB, free: 9.047 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: