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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001298/0.001298, allocations: 195.1 kB / 16.14 MB, free: 6.641 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 283 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 102.8 kB / 0.6057 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1797, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00228/0.182, allocations: 0.8521 MB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1842, allocations: 1.486 MB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.1843, allocations: 4 kB / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.1843, allocations: 4 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.1844, allocations: 3.938 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1848, allocations: 111.7 kB / 0.6952 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.1849, allocations: 51.84 kB / 0.6953 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1849, allocations: 11.98 kB / 0.6953 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.185, allocations: 23.92 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.1851, allocations: 31.89 kB / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1851, allocations: 4 kB / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1856, allocations: 315.4 kB / 0.6956 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.1856, allocations: 11.92 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1857, allocations: 27.91 kB / 0.6957 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.186, allocations: 215.8 kB / 0.6959 GB, free: 1.707 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.186, allocations: 0 / 0.6959 GB, free: 1.707 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.186, allocations: 0 / 0.6959 GB, free: 1.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1861, allocations: 4 kB / 0.6959 GB, free: 1.703 MB / 494.1 MB 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.0006814/0.1867, allocations: 395.4 kB / 0.6962 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1868, allocations: 8.031 kB / 0.6963 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.1873, allocations: 76.75 kB / 0.6963 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1874, allocations: 172.3 kB / 0.6965 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1874, allocations: 384 / 0.6965 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1875, allocations: 12.38 kB / 0.6965 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.1879, allocations: 109.9 kB / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1879, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1879, allocations: 4 kB / 0.6966 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1879, allocations: 7.922 kB / 0.6966 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.1884, allocations: 99.84 kB / 0.6967 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.1891, allocations: 344.5 kB / 0.697 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000639/0.1897, allocations: 154.4 kB / 0.6972 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.19, allocations: 60.8 kB / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.19, allocations: 0 / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.19, allocations: 34.56 kB / 0.6973 GB, free: 96 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.19, allocations: 0 / 0.6973 GB, free: 96 kB / 494.1 MB 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.01963/0.2097, allocations: 2.836 MB / 0.7001 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2098, allocations: 63.28 kB / 0.7001 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.2099, allocations: 101.8 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.2099, allocations: 25.7 kB / 0.7002 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.21, allocations: 88.05 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.2101, allocations: 39.45 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.2103, allocations: 69.7 kB / 0.7004 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2104, allocations: 310.8 kB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.2111, allocations: 199.8 kB / 0.7009 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.2118, allocations: 195.7 kB / 0.7011 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2132, allocations: 395.4 kB / 0.7015 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2132, allocations: 0 / 0.7015 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00161/0.2148, allocations: 469.2 kB / 0.7019 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2148, allocations: 4 kB / 0.7019 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2148, allocations: 0 / 0.7019 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2149, allocations: 0 / 0.7019 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.2157, allocations: 115.7 kB / 0.702 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2158, allocations: 3.938 kB / 0.702 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.2164, allocations: 47.94 kB / 0.7021 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.2165, allocations: 23.92 kB / 0.7021 GB, free: 11 MB / 0.4981 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.0001703/0.2167, allocations: 113.8 kB / 0.7022 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.2168, allocations: 11.91 kB / 0.7022 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.2168, allocations: 7.969 kB / 0.7022 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2168, allocations: 4.094 kB / 0.7022 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2168, allocations: 11.88 kB / 0.7023 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2169, allocations: 0 / 0.7023 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.2192, allocations: 1.047 MB / 0.7033 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2192, allocations: 4 kB / 0.7033 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.2201, allocations: 103.8 kB / 0.7034 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2201, allocations: 7.938 kB / 0.7034 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.2202, allocations: 27.92 kB / 0.7034 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2202, allocations: 0 / 0.7034 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2202, allocations: 0 / 0.7034 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.2226, allocations: 0.7916 MB / 0.7042 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2228, allocations: 116.9 kB / 0.7043 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.2229, allocations: 16.05 kB / 0.7043 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.2236, allocations: 39.94 kB / 0.7043 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2237, allocations: 27.92 kB / 0.7044 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.2238, allocations: 27.94 kB / 0.7044 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.2239, allocations: 79.28 kB / 0.7045 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2239, allocations: 4 kB / 0.7045 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003972/0.2243, allocations: 51.98 kB / 0.7045 GB, free: 8.363 MB / 0.4981 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.000217/0.2245, allocations: 111.2 kB / 0.7046 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.226, allocations: 431.4 kB / 0.705 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.226, allocations: 0 / 0.705 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2267, allocations: 220 kB / 0.7053 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.2272, allocations: 12.2 kB / 0.7053 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.2315, allocations: 0.7886 MB / 0.706 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.2318, allocations: 0.6926 MB / 0.7067 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006997/0.2325, allocations: 85 kB / 0.7068 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.2328, allocations: 59.3 kB / 0.7069 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2328, allocations: 0 / 0.7069 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.006521/0.2393, allocations: 3.334 MB / 0.7101 GB, free: 2.605 MB / 0.4981 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)