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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005175/0.005175, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00107/0.00107, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 283.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9612/0.9612, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 87.86 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1615, allocations: 86.97 MB / 0.7664 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002461/0.164, allocations: 0.7877 MB / 0.7672 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1658, allocations: 1.474 MB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.1659, allocations: 0 / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.1659, allocations: 3.938 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.166, allocations: 7.938 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.1665, allocations: 143.4 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.1666, allocations: 47.72 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.1667, allocations: 4 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.1667, allocations: 27.91 kB / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.1668, allocations: 39.83 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1668, allocations: 4 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.1673, allocations: 323.3 kB / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1673, allocations: 4 kB / 0.7692 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1674, allocations: 27.86 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1677, allocations: 219.5 kB / 0.7695 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1677, allocations: 3.938 kB / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1677, allocations: 0 / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1677, allocations: 0 / 0.7695 GB, free: 5.262 MB / 0.5606 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.0006207/0.1684, allocations: 403.4 kB / 0.7698 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1684, allocations: 8.031 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.1688, allocations: 72.75 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.169, allocations: 164.4 kB / 0.7701 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.169, allocations: 8.375 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.169, allocations: 8.281 kB / 0.7701 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1694, allocations: 121.8 kB / 0.7702 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1694, allocations: 0 / 0.7702 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1694, allocations: 3.938 kB / 0.7702 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1695, allocations: 4 kB / 0.7702 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.1699, allocations: 99.89 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.1705, allocations: 340.6 kB / 0.7706 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.1711, allocations: 154.4 kB / 0.7708 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.1713, allocations: 56.8 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1713, allocations: 8.141 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1714, allocations: 34.56 kB / 0.7709 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1714, allocations: 0 / 0.7709 GB, free: 3.645 MB / 0.5606 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.01669/0.1881, allocations: 2.828 MB / 0.7736 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1882, allocations: 63.28 kB / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.1882, allocations: 105.8 kB / 0.7738 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.1883, allocations: 29.7 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1884, allocations: 88.05 kB / 0.7739 GB, free: 424 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.1884, allocations: 35.45 kB / 0.7739 GB, free: 388 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1886, allocations: 69.58 kB / 0.774 GB, free: 312 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2984/0.487, allocations: 315.4 kB / 0.7743 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.4879, allocations: 190.2 kB / 0.7745 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.4886, allocations: 190.9 kB / 0.7747 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.4899, allocations: 392.9 kB / 0.7751 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.49, allocations: 0 / 0.7751 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001558/0.4915, allocations: 479.3 kB / 0.7755 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4915, allocations: 6.578 kB / 0.7755 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4916, allocations: 0 / 0.7755 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4916, allocations: 1.156 kB / 0.7755 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.4924, allocations: 106.6 kB / 0.7756 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4924, allocations: 7.906 kB / 0.7756 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.493, allocations: 48.06 kB / 0.7757 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.493, allocations: 23.75 kB / 0.7757 GB, free: 14.98 MB / 0.5606 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.0001289/0.4932, allocations: 117.7 kB / 0.7758 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.4933, allocations: 9.703 kB / 0.7758 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.4933, allocations: 12.72 kB / 0.7758 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4933, allocations: 5.188 kB / 0.7758 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4933, allocations: 0.5625 kB / 0.7758 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4933, allocations: 1.406 kB / 0.7758 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.4954, allocations: 1.047 MB / 0.7769 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4954, allocations: 4.875 kB / 0.7769 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.4962, allocations: 106.1 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4962, allocations: 0.6875 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.4963, allocations: 25.8 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4963, allocations: 1.062 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4963, allocations: 0.75 kB / 0.777 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.4985, allocations: 0.7921 MB / 0.7778 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4986, allocations: 124.3 kB / 0.7779 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.4987, allocations: 4.578 kB / 0.7779 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.4993, allocations: 45.89 kB / 0.7779 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4994, allocations: 27.08 kB / 0.778 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.4995, allocations: 28.23 kB / 0.778 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.4995, allocations: 85.5 kB / 0.7781 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4995, allocations: 4 kB / 0.7781 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003712/0.4999, allocations: 57.38 kB / 0.7781 GB, free: 13.99 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 (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.0001653/0.5001, allocations: 115.4 kB / 0.7782 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.5015, allocations: 415.7 kB / 0.7786 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5015, allocations: 4 kB / 0.7786 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.5022, allocations: 224.2 kB / 0.7788 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5025, allocations: 13.69 kB / 0.7789 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.5064, allocations: 0.7524 MB / 0.7796 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.5065, allocations: 0.6984 MB / 0.7803 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004763/0.507, allocations: 87.61 kB / 0.7804 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.5072, allocations: 53.09 kB / 0.7804 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5072, allocations: 0 / 0.7804 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.006378/0.5136, allocations: 3.579 MB / 0.7839 GB, free: 12.58 MB / 0.5606 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)