Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7668/0.7668, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 183.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 426.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007671/0.0007671, allocations: 90.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001568/0.001568, allocations: 265.7 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004473, allocations: 20 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3121, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4349, allocations: 108.7 MB / 0.8456 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4352, allocations: 83.95 kB / 0.8457 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.4513, allocations: 5.517 MB / 0.8511 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4513, allocations: 0 / 0.8511 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4513, allocations: 4 kB / 0.8511 GB, free: 11.89 MB / 0.5261 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.0004626/0.4518, allocations: 399.2 kB / 0.8515 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4518, allocations: 8.031 kB / 0.8515 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.4522, allocations: 64.88 kB / 0.8516 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4523, allocations: 172.3 kB / 0.8517 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.4524, allocations: 8.375 kB / 0.8517 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4524, allocations: 8.375 kB / 0.8517 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.4527, allocations: 119.1 kB / 0.8518 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4528, allocations: 192 / 0.8518 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4528, allocations: 7.938 kB / 0.8519 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4528, allocations: 0 / 0.8519 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.4532, allocations: 127.9 kB / 0.852 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.4538, allocations: 340.6 kB / 0.8523 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.4544, allocations: 194.4 kB / 0.8525 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4546, allocations: 64.81 kB / 0.8526 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4547, allocations: 4 kB / 0.8526 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4547, allocations: 34.55 kB / 0.8526 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4547, allocations: 0 / 0.8526 GB, free: 10.21 MB / 0.5261 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.01635/0.4711, allocations: 3.181 MB / 0.8557 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4711, allocations: 55.34 kB / 0.8557 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.4712, allocations: 97.8 kB / 0.8558 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.4713, allocations: 29.7 kB / 0.8559 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.4713, allocations: 92.03 kB / 0.856 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.4714, allocations: 39.45 kB / 0.856 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.4714, allocations: 0 / 0.856 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.4715, allocations: 326.8 kB / 0.8563 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.4722, allocations: 211.8 kB / 0.8565 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.4728, allocations: 216.7 kB / 0.8567 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.474, allocations: 443 kB / 0.8571 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.474, allocations: 4 kB / 0.8571 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001393/0.4754, allocations: 0.5207 MB / 0.8576 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4755, allocations: 9.406 kB / 0.8577 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4755, allocations: 0 / 0.8577 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4755, allocations: 4 kB / 0.8577 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.4763, allocations: 119.8 kB / 0.8578 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4763, allocations: 0 / 0.8578 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.4768, allocations: 67.88 kB / 0.8578 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.4769, allocations: 23.94 kB / 0.8579 GB, free: 4.664 MB / 0.5261 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.0001417/0.477, allocations: 113.9 kB / 0.858 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.4771, allocations: 7.844 kB / 0.858 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.4772, allocations: 19.95 kB / 0.858 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4772, allocations: 4 kB / 0.858 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4772, allocations: 0 / 0.858 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4772, allocations: 7.875 kB / 0.858 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.4793, allocations: 1.094 MB / 0.8591 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4793, allocations: 0 / 0.8591 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.48, allocations: 119.8 kB / 0.8592 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.48, allocations: 0 / 0.8592 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.4801, allocations: 23.88 kB / 0.8592 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4801, allocations: 7.938 kB / 0.8592 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4801, allocations: 0 / 0.8592 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.4823, allocations: 0.8659 MB / 0.8601 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4825, allocations: 113 kB / 0.8602 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.4826, allocations: 7.938 kB / 0.8602 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.4832, allocations: 60 kB / 0.8602 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4833, allocations: 27.92 kB / 0.8603 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.4834, allocations: 27.92 kB / 0.8603 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.4834, allocations: 83.28 kB / 0.8604 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4834, allocations: 0 / 0.8604 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000388/0.4838, allocations: 59.94 kB / 0.8604 GB, free: 1.875 MB / 0.5261 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.0002507/0.4841, allocations: 119.5 kB / 0.8605 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.4854, allocations: 467.5 kB / 0.861 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4855, allocations: 0 / 0.861 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.4861, allocations: 259.6 kB / 0.8612 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.4865, allocations: 14.98 kB / 0.8613 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.4905, allocations: 0.8656 MB / 0.8621 GB, free: 136 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4908, allocations: 0.6936 MB / 0.8628 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006918/0.4915, allocations: 92.67 kB / 0.8629 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.4917, allocations: 55.3 kB / 0.8629 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.4918, allocations: 0 / 0.8629 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.006116/0.4979, allocations: 3.262 MB / 0.8661 GB, free: 12.01 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)